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

List cache keys #105

Open
albertforweb opened this issue Jul 26, 2021 · 1 comment
Open

List cache keys #105

albertforweb opened this issue Jul 26, 2021 · 1 comment
Labels

Comments

@albertforweb
Copy link

i don't see an api for listing keys in cache, and think such api will be helpful for determining whether desired keys exist or not.

@thibaultcha
Copy link
Owner

thibaultcha commented Aug 30, 2021

This does not make much sense to me given the multiple layers of caching, multiple possible states of cached items (e.g. fresh, stale, re-validating, negative vs. positive cache, etc...), the discrepancies that may exist between these layers (e.g. item in L2 but evicted from L1), the performance or feasibility challenges in retrieving/building this list even for L1/L2. Not opposed to the feature if the API is really well designed, keeps it simple, and is well implemented (e.g. perf), but I doubt anybody will implement this.

@thibaultcha thibaultcha changed the title list cache keys List cache keys Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants