Used DateInterval class instead of seconds for cache time out
Fixed cache expiry detection error and updated example
Update example
Merge pull request #5 from ojhaujjwal/feature/cache-timeout-dateinterval

Used DateInterval class instead of seconds for cache time out