# dotnetcore/EasyCaching

:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!

Repository: https://github.com/dotnetcore/EasyCaching
Canonical: https://ross.abutalabs.com/products/easycaching
Language: C#
License: MIT
License Family: permissive
Topics: caching, memory-cache, distributed-cache, aspnetcore, redis, memcached, sqlite, hybrid-cache, interceptor, cache
Last push: 2025-03-17T16:04:26+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 11, release rhythm 8, longevity 100
- inputs: {"age_days": 3217, "days_push": 534, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2094, forks 336 (observed 2026-08-28T04:06:13.104703+00:00)

## What it is
EasyCaching is a .NET caching library that unifies basic and advanced caching usage behind a common abstraction. It supports multiple backends such as in-memory, Redis, Memcached, and SQLite, including hybrid (two-level) caching and AOP-style interceptors.

## Use cases
- add caching to an asp.net core application
- use redis as a distributed cache in .net
- combine local and distributed caching with a hybrid cache
- cache method results with attributes/interceptors
- swap cache providers without changing application code
- cache data in memory with expiration and stats

## When to choose
- you are building ASP.NET Core or .NET services and want a unified caching API
- you need pluggable backends like Redis, Memcached, or SQLite behind one interface
- you want two-level (hybrid) caching with bus-based invalidation
- you prefer attribute/interceptor-based caching over manual cache calls

## When to avoid
- you are not on the .NET platform
- you need a standalone caching server rather than a client library
- you require extreme low-level control over cache internals
- your project already standardizes on a single vendor's caching SDK

## Facets
- artifact type: library
- maturity: active
- function: caching, middleware, serialization
- domain: backend, web-development, developer-tools, databases
- platform: dotnet, cross-platform, cloud
- tags: aspnetcore, redis, memcached, distributed-cache, in-memory-cache, hybrid-cache, cache-interceptor, nuget, docker

## Member repositories
- dotnetcore/EasyCaching (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:13.104703+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:55:25.136568+00:00, confidence not recorded.
  - readme: https://github.com/dotnetcore/EasyCaching (fetched 2026-08-28T04:06:13.104703+00:00, sha b77cc92ef8c3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
