CleverCache 2.0.0
See the version list below for details.
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.EntityFrameworkCore
EF Core integration for CleverCache — automatic cache invalidation via SaveChangesInterceptor and DbSet navigation scanning. |
|
|
CleverCache.MediatR
MediatR pipeline integration for CleverCache — automatic caching of MediatR queries via the [AutoCache] attribute. |
|
|
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.1-preview.5 | 42 | 6/5/2026 | |
| 2.0.1-preview.4 | 47 | 6/4/2026 | |
| 2.0.1-preview.3 | 42 | 6/4/2026 | |
| 2.0.1-preview.2 | 41 | 6/4/2026 | |
| 2.0.1-preview.1.4 | 49 | 6/4/2026 | |
| 2.0.1-preview.1.3 | 47 | 6/3/2026 | |
| 2.0.0 | 149 | 5/26/2026 | |
| 1.0.13 | 425 | 10/14/2025 | |
| 1.0.12 | 501 | 10/8/2025 | |
| 1.0.11 | 398 | 10/8/2025 | |
| 1.0.10 | 494 | 10/7/2025 | |
| 1.0.9 | 444 | 5/28/2025 | |
| 1.0.8 | 623 | 4/23/2025 | |
| 1.0.7 | 538 | 4/3/2025 | |
| 1.0.6 | 523 | 4/3/2025 | |
| 1.0.5 | 431 | 4/1/2025 |