Used DateInterval class instead of seconds for cache time out