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

How to create separate caches? Not seeing how this is done. #180

Closed
SoulFireMage opened this issue Nov 3, 2022 · 1 comment
Closed

How to create separate caches? Not seeing how this is done. #180

SoulFireMage opened this issue Nov 3, 2022 · 1 comment

Comments

@SoulFireMage
Copy link

[Use the Thumbs Up reaction to vote for this feature, and please avoid adding comments like "+1" as they create noise for others watching the issue.]

How do you configure the cache to be separate instances? I've tried having private static versions within several types in my project, however when I debug, one single cache instance shows caching from multiple types.

My project is a rather large monolith where I may, in some cases, cache a few thousand items of a type. I'd like to be able to separate out the various caches rather than have one single dictionary for all the many types I may cache.

I've not seen it in the documentation so far :)

Thank you!

@alastairtree
Copy link
Owner

Thank for the suggestion. I think this is the same as #166 so will close as a duplicate.

@alastairtree alastairtree closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants