Skip to content

chunty/CleverCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

See also:

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>());

About

Like MemoryCache but better! Automatically invalidates cache by entity type, supports memory cache, distributed cache, or a custom provider.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages