Hybrid Cache released!

Hybrid cache released header image

Hey devs! Great news – .NET 9.0.3 just dropped a few days ago, and with it comes the long-awaited official release of HybridCache!

If you’re not familiar with it yet, HybridCache is Microsoft’s cool new library that handles your local caches (the L1 level stuff) and distributed caches (L2 level) in one go.

What’s neat is that this library sits right on top of the Microsoft libraries we’ve all been using until now – IMemoryCache and IDistributedCache – but makes working with them way more seamless and straightforward.

And that’s not all! HybridCache brings some really handy features to the table, like automatically handling those pesky cache stampede issues, letting you add tags to your cache keys, and giving you the ⚡power⚡ to wipe out entire groups of keys based on specific tags.

The best part? This isn’t just for the shiny new .NET – you can use it with older net framework (4.7.2 and up) and net standard 2.0 projects too. So yes, even

your legacy projects can get some love!

Want to dive deeper? Check out the link below to my full article on implementing HybridCache in a .NET 9 project.

Thank you, have a nice dev-day!

Share this article
Shareable URL
Prev Post

Real-Time Monitoring of 300 Web Applications: A Case Study

Read next

LINQ Extension Method

At the 2024 edition of Overnet’s WPC conference, I attended an insightful talk about LINQ extension…

Discovering Span<T>

With .NET Core 2.1 and C# 7.2, a new type of struct was introduced: Span<T> and ReadOnlySpan<T>.…