← Back
Milan Jovanovic January 2, 2025 23s

Cache aside + tag-based eviction? Yes please!

Summary

This transcript explains how to implement a hybrid cache in minimal API endpoints by injecting the hybrid cache service. It highlights the use of the `GetOrCreateAsync` method, which takes a cache key and a delegate for data retrieval, and mentions the option to tag cache entries for future eviction. The practical takeaway is enabling efficient data retrieval through caching in minimal APIs.

View original episode ↗