ASP.NET MVC, Individual Cache User Control

How to cache a single user control using ASP.NET MVC ? I also need VaryByParam support, etc., which usually comes with ASPX output caching. I do not want to cache the entire action, but only one of my user controls in the view.

The example will be nice :) Thank you!

+3
source share
1 answer

Phil Haack wrote a good article about this, he called dnout hole caching http://haacked.com/archive/2009/05/12/donut-hole-caching.aspx

+3
source

Source: https://habr.com/ru/post/1713378/


All Articles