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

stale-while-revalidate feature #228

Open
mharkins-cosm opened this issue Oct 18, 2024 · 0 comments
Open

stale-while-revalidate feature #228

mharkins-cosm opened this issue Oct 18, 2024 · 0 comments

Comments

@mharkins-cosm
Copy link

mharkins-cosm commented Oct 18, 2024

Would you support a stale-while-revalidate feature in this crate? If so, I'd be happy to start work on it.

EDIT: To clarify, I'd expect the mechanism to synchronize write access to the cache key as with the sync_writes feature, but rather than blocking, it would authorize failed attempts to return a stale value while the lock holder rebuilds the cache value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant