BitFaster.Caching icon indicating copy to clipboard operation
BitFaster.Caching copied to clipboard

[Feature request] - Stale while revalidate caching

Open juancarrey opened this issue 5 years ago • 0 comments
trafficstars

It would be nice to have the feature for those caches that support TTL, that returns the stale value during revalidation of the cached instance, being able to react to the newer instance once retrieved updating the cache in the background for later hits.

This would speed up misses, allowing a stale object to be returned during revalidating time.

This could be optionally defined on the policies or cache options

Thank you :)

juancarrey avatar Sep 14 '20 07:09 juancarrey