Operates identically to a regular .NET MemoryCache, except that it properly initiates trims at the configured polling interval based on your memory settings.
A spinoff of the Dache project.
WEB: http://www.dache.io
EMAIL: [email protected]
- Fixed integer overflow that would happen in very long running applications
- Initial release
Just include the DLL in your project (NuGet) and create a new TrimmingMemoryCache(name, config)
instead of a new MemoryCache(name, config)
. It will do the rest automatically!