HybridCache - The New Caching Library in .NET 9

HybridCache - The New Caching Library in .NET 9

12.916 Lượt nghe
HybridCache - The New Caching Library in .NET 9
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt Join a community of 1000+ .NET developers: https://www.patreon.com/milanjovanovic Learn about HybridCache, an exciting new caching library in .NET 9! This tutorial covers how to implement hybrid caching by combining local in-memory caching with Redis distributed caching using just a few lines of code. We'll explore the new HybridCacheEntryOptions, set up expiration times, and show you how to efficiently manage your application's cache across different storage layers. HybridCache solves many of the drawbacks of the existing caching implementations we have today. HybridCache in ASP.NET Core - New Caching Library https://www.milanjovanovic.tech/blog/hybrid-cache-in-aspnetcore-new-caching-library Check out my courses: https://www.milanjovanovic.tech/courses Read my Blog here: https://www.milanjovanovic.tech/blog Join my weekly .NET newsletter: https://www.milanjovanovic.tech Chapters 0:00 IMemoryCache and its drawbacks 3:46 IDistributedCache and its drawbacks 4:58 Installing and using HybridCache 10:42 Using Redis as a distributed cache 14:24 Cache stampede protection