Allow overriding of cache entry expiry time