HybridCache - The New Caching Library in .NET 9

Author: Milan Jovanović
Published At: 2024-12-17T00:00:00
Length: 18:24

Summary

Description

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

Translated At: 2025-03-13T18:46:56Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos