Output Caching in .NET: The Ultimate Guide to Lightning-Fast APIs

Опубликовано: 13 Март 2025
на канале: Milan Jovanović
13,046
509

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:   / milanjovanovic  

Learn how to optimize your .NET application's performance with Output Caching. This video covers essential techniques, including setting up output caching, implementing custom caching policies, and integrating with Azure Cache for Redis. We'll also explore cache eviction strategies and demonstrate how to effectively use output caching with authenticated requests. Whether you're a beginner or an experienced developer, you'll gain valuable insights to enhance your application's responsiveness and scalability.

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 Output Caching quick setup
2:27 Where Output Caching fits in
4:37 Customizing output caching
7:32 Using Azure Cache for Redis
11:14 Output caching and authentication
12:16 Examining the Default Policy
13:12 Custom output cache policy
15:44 PROBLEM: Caching and authorization
17:52 Safely caching authenticated responses
20:24 Output cache invalidation (eviction)