65.9K
CodeProject is changing. Read more.
Home

Post-Cache Substitution

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Oct 11, 2013

CPOL
viewsIcon

6798

ASP.NET 2.0 introduces a new feature called Post-Cache Substitution, which is aimed at optimizing the development experience for this mostly-cached

ASP.NET 2.0 introduces a new feature called Post-Cache Substitution, which is aimed at optimizing the development experience for this mostly-cached page scenario. Rather than requiring page developers to mark page regions (user controls) as cached, post-cache substitution allows them to output cache an entire page and then simply identify regions of the page that should be exempt from caching. It also allows control developers to prevent their rendering from from being cached. In the above example, an AdRotator control that takes advantage of post-cache substitution would be able to serve a different advertisement on each request even if its parent page were cached.

WhitePapers/Blogs