Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] - Stale while revalidate caching #59

Open
juancarrey opened this issue Sep 14, 2020 · 0 comments
Open

[Feature request] - Stale while revalidate caching #59

juancarrey opened this issue Sep 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@juancarrey
Copy link

juancarrey commented Sep 14, 2020

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 :)

@bitfaster bitfaster added the enhancement New feature or request label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants