# MichaCo/CacheManager

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

Repository: https://github.com/MichaCo/CacheManager
Canonical: https://ross.abutalabs.com/products/cachemanager
Homepage: http://cachemanager.michaco.net
Language: C#
License: Apache-2.0
License Family: permissive
Topics: cachemanager, c-sharp, caching, cache, redis, memcached, dotnet, dotnet-core
Last push: 2026-02-18T08:21:59+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 68, release rhythm 39, longevity 100
- inputs: {"age_days": 4182, "days_push": 196, "days_rel": 196, "gap_med": 348, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2420, forks 451 (observed 2026-08-28T04:06:50.501505+00:00)

## What it is
CacheManager is an open-source caching abstraction layer for .NET written in C#, supporting multiple cache providers such as Redis, Memcached, and in-memory caches. It enables multi-layer caching setups with advanced features like cache synchronization, concurrent update handling, serialization, events, and logging.

## Use cases
- add distributed caching to a .NET application
- combine in-process and Redis caching in layers
- swap cache providers without rewriting code
- handle concurrent cache updates in distributed systems
- keep multiple app instances' caches in sync with a backplane
- configure caching via JSON or app.config in ASP.NET Core

## When to choose
- you are on .NET/.NET Core and need a unified API over multiple cache providers
- you need multi-layer caching (L1 in-memory in front of L2 distributed cache)
- you need safe concurrent update semantics or cache synchronization across instances

## When to avoid
- you only need a single simple in-memory cache and prefer Microsoft's built-in IMemoryCache
- you rely on Memcached, Couchbase, or performance counters, which are no longer supported in v2+
- you are not on the .NET platform

## Facets
- artifact type: library
- maturity: active
- function: caching, serialization, logging, concurrency
- domain: backend, web-development, developer-tools, microservices
- platform: dotnet, cross-platform, cloud
- tags: cache-abstraction, redis, memcached, multi-layer-cache, cache-backplane, nuget, distributed-cache

## Member repositories
- MichaCo/CacheManager (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.501505+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:33:04.451754+00:00, confidence not recorded.
  - readme: https://github.com/MichaCo/CacheManager (fetched 2026-08-28T04:06:50.501505+00:00, sha 6049bd5e4c94)
  - homepage: http://cachemanager.michaco.net (fetched 2026-08-29T10:13:34.056527+00:00, sha 99da6e0c662f)
  - site_page: https://cachemanager.michaco.net/documentation (fetched 2026-08-29T10:13:34.061109+00:00, sha ef4acadbe844)
  - site_page: https://cachemanager.michaco.net/documentation/api/CacheManager.Core.html (fetched 2026-08-29T10:13:34.062893+00:00, sha 435bd0dab7a1)
  - site_page: https://www.michaco.net/blog/CacheManagerReleaseOneDotOneNewFeaturesAndFuture (fetched 2026-08-29T10:13:34.064861+00:00, sha 994c2163d537)
  - site_page: https://cachemanager.michaco.net/documentation/CacheManagerGettingStarted (fetched 2026-08-29T10:13:34.068989+00:00, sha 55f5d3d2f6b3)
  - site_page: https://cachemanager.michaco.net/documentation/CacheManagerArchitecture (fetched 2026-08-29T10:13:34.070719+00:00, sha 313afb1b492b)
  - site_page: https://cachemanager.michaco.net/documentation/CacheManagerConfiguration (fetched 2026-08-29T10:13:34.072887+00:00, sha a100d3d08d4d)
  - site_page: https://cachemanager.michaco.net/documentation/CacheManagerUpdateOperations (fetched 2026-08-29T10:13:34.075050+00:00, sha 21dfa8c5d0df)
  - site_page: https://www.michaco.net/blog/SinglePageTodoAppwithCacheManager (fetched 2026-08-29T10:13:34.066908+00:00, sha 24457de5aa41)
- Data as of 2026-08-30T08:39:29.467469+00:00.
