Aspnet Caching

ASP.NET Core caching patterns: `IMemoryCache` (in-process), `IDistributedCache` (Redis/SQL Server), `HybridCache` (.NET 9 unified, L1+L2), Output Caching (.NET 7+), Response Caching, ResponseCache attribute. Cache strategies (cache-aside, write-through, refresh-ahead), key conventions, TTL/sliding expiration, invalidation, stampede prevention. Use khi user nói 'app chậm khi load list', 'DB query lặp', 'cache với Redis', 'output caching', 'session state', hoặc khi setup caching layer cho production.

nguyenvanchiens 6d9300f 12.1 KB Updated

File contents

nguyenvanchiens/my-skills/tree/main/skills/aspnet-caching commit 6d9300f82d

Frequently asked questions

npx skillmds@latest add nguyenvanchiens/aspnet-caching