Caching abstractions — memory, Redis, hybrid, and the stampede in between
Four caching interfaces that grew over the years, copy-pasted cache-aside code and a cache stampede waiting to happen. Why IMemoryCache and IDistributedCache aren't enough on their own, what .NET 9's HybridCache fixes, and the thin abstraction I put on top.