Compute response caching time