The template uses HybridCache, a hybrid solution combining local and distributed caching for performance and consistency. Microsoft maintains it as Microsoft.Extensions.Caching.Hybrid.
The framework uses HybridCache and wraps it via CacheService in the Share project.
Configure in appsettings.json:
"Cache": { "MaxPayloadBytes": 1048576, "MaxKeyLength": 1024, "Expiration": 20, "LocalCacheExpiration": 10 },
For more, see the official docs.
ĺ 厚大纲