Home

Awesome

CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.

The main goal of the CacheManager package is to make developer's life easier to handle even very complex caching scenarios.
With CacheManager it is possible to implement multiple layers of caching, e.g. in-process caching in front of a distributed cache, in just a few lines of code.

CacheManager is not just an interface to unify the programming model for various cache providers, which will make it very easy to change the caching strategy later on in a project. It also offers additional features, like cache synchronization, concurrent updates, serialization, events, performance counters... The developer can opt-in to those features only if needed.

Build Status

Build ServerStatus
Windows, MSBuildBuild status
Linux, Mono-

CacheManager Nuget Packages

Package Name.Net 4.0.Net 4.5.NET Standard
CacheManager.Corexx1.2
CacheManager.StackExchange.Redis-x1.5
CacheManager.SystemRuntimeCachingxx-
CacheManager.Microsoft.Extensions.Caching.Memory-x1.3
CacheManager.Microsoft.Extensions.Configuration-x1.2
CacheManager.Microsoft.Extensions.Logging-x1.2
CacheManager.Serialization.Bondxx1.2
CacheManager.Serialization.Jsonxx1.2
CacheManager.Serialization.ProtoBufxx1.3
CacheManager.Web-x-
CacheManager.Memcachedxx-
CacheManager.Couchbase-x1.5

Beta Packages

Beta versions of the CacheManager packages are getting pushed to https://www.myget.org/gallery/cachemanager on each build. Add the following feed, if you want to play with the not yet released bits:

https://www.myget.org/F/cachemanager/api/v3/index.json

To find which check-in created which build, use this build history.

Documentation

Documentation can be found on cachemanager.michaco.net:

Generated API documentation is also available.

Blog Posts

CacheManager related blog posts can be found on my website

Examples

Benchmarks

See benchmarks results on GitHub.

List of Features