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

Add in-memory provider that uses IMemoryCache #260

Open
wazzamatazz opened this issue Aug 17, 2023 · 0 comments
Open

Add in-memory provider that uses IMemoryCache #260

wazzamatazz opened this issue Aug 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@wazzamatazz
Copy link

What problem does the feature solve?

Consider adding a caching provider that uses Microsoft.Extensions.Caching.Memory.IMemoryCache as its store. This could be used as an alternative to the built-in MemoryCacheLayer.

The default MemoryCache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache includes features such as automatic compaction if the cache exceeds a given size limit. It would be useful to be able to piggyback onto these capabilities while still using CacheTower's flexible layering.

@wazzamatazz wazzamatazz added the enhancement New feature or request label Aug 17, 2023
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

1 participant