bitfaster / BitFaster.Caching

High performance, thread-safe in-memory caching primitives for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enumerate all cached keys

altso opened this issue · comments

It seems like this feature is not available in any of the caches.

What's your use case for enumerating keys?

I'm trying to avoid increasing the API surface unless it's really critical functionality, and usually looking inside the cache is an anti pattern.

That was a potential workaround to clear cache. Given you can clear cache now (#73) I don't think I have a valid use case for that any longer. Thanks for looking into that.