CleverCache 2.0.0
dotnet add package CleverCache --version 2.0.0
NuGet\Install-Package CleverCache -Version 2.0.0
<PackageReference Include="CleverCache" Version="2.0.0" />
<PackageVersion Include="CleverCache" Version="2.0.0" />
<PackageReference Include="CleverCache" />
paket add CleverCache --version 2.0.0
#r "nuget: CleverCache, 2.0.0"
#:package CleverCache@2.0.0
#addin nuget:?package=CleverCache&version=2.0.0
#tool nuget:?package=CleverCache&version=2.0.0
CleverCache
Automatic cache invalidation for .NET — tracks entity changes via EF Core and clears related cache entries automatically.
Supports memory cache (default), distributed cache (IDistributedCache), or a custom provider.
For full documentation, examples, and configuration options see the CleverCache wiki.
Quick start
// Memory cache (default)
builder.Services.AddCleverCache();
// Distributed cache (e.g. Redis)
builder.Services.AddStackExchangeRedisCache(o => o.Configuration = "localhost");
builder.Services.AddCleverCache(o => o.UseDistributedCache());
// Custom provider
builder.Services.AddCleverCache(o => o.UseCustomStore<MyStore>());
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AsyncKeyedLock (>= 8.0.2)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.8)
- Microsoft.Extensions.Caching.Memory (>= 10.0.8)
-
net8.0
- AsyncKeyedLock (>= 8.0.2)
- Microsoft.Extensions.Caching.Abstractions (>= 9.0.15)
- Microsoft.Extensions.Caching.Memory (>= 9.0.15)
-
net9.0
- AsyncKeyedLock (>= 8.0.2)
- Microsoft.Extensions.Caching.Abstractions (>= 9.0.15)
- Microsoft.Extensions.Caching.Memory (>= 9.0.15)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on CleverCache:
| Package | Downloads |
|---|---|
|
CleverCache.MediatR
MediatR pipeline integration for CleverCache — automatic caching of MediatR queries via the [AutoCache] attribute. |
|
|
CleverCache.EntityFrameworkCore
EF Core integration for CleverCache — automatic cache invalidation via SaveChangesInterceptor and DbSet navigation scanning. |
|
|
CleverCache.Redis
Redis integration for CleverCache — adds UseRedisCache() convenience registration backed by StackExchange.Redis. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 2.0.0 | 93 | 5/26/2026 | |
| 1.0.13 | 424 | 10/14/2025 | |
| 1.0.12 | 500 | 10/8/2025 | |
| 1.0.11 | 397 | 10/8/2025 | |
| 1.0.10 | 493 | 10/7/2025 | |
| 1.0.9 | 440 | 5/28/2025 | |
| 1.0.8 | 606 | 4/23/2025 | |
| 1.0.7 | 535 | 4/3/2025 | |
| 1.0.6 | 521 | 4/3/2025 | |
| 1.0.5 | 429 | 4/1/2025 | |
| 1.0.3 | 404 | 3/13/2025 | |
| 1.0.2 | 418 | 3/13/2025 | |
| 1.0.1 | 461 | 3/12/2025 | |
| 1.0.0 | 515 | 3/12/2025 |