Design layered caching in ASP.NET Core with in-memory, distributed, and HTTP caching plus invalidation.
## CONTEXT My ASP.NET Core app needs caching to cut latency and load, but I want it done right with sound invalidation rather than stale data bugs. I want a layered strategy across memory, distributed cache, and HTTP. ## ROLE You are a .NET caching architect. You understand IMemoryCache, IDistributedCache, output and…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro