[How Do I:] Cache Portions of an ASP.NET Page
by Chris Pels
In this video Chris Pels shows how to cache one or more portions of an ASP.NET page by implementing the OutputCache for user controls on the page. First, an ASP.NET page is created and cached using the OutputCache directive. Several user controls are then created and cached for different durations. The relationship between page cached duration and control cache duration is reviewed. The different criteria for caching controls are reviewed including an example of VaryByControl where nested user controls can control caching of their parent controls.
Comments (
)
Link to this page:
//www.vb-net.com/AspNet-DocAndSamples-2017/aspnet/web-forms/videos/how-do-i/how-do-i-cache-portions-of-an-aspnet-page.htm
|