Dynamic Cache Substitution using Substitution Control

Thanks to Bipin for this! 

ASP.NET Output Caching features help us to develop performance oriented web sites. No doubt that output caching reduces server side event processing. However, in the process it bypasses the entire server side processing. That means after the first request the page becomes static in terms of its contents for the entire cache duration. In some situations this architecture poses problems of its own. Recognizing these problems Microsoft introduced a new web server control called Substitution control in ASP.NET 2.0. The Substitution control allows you to dynamically change a part of the entire cached output. This substitution happens on the server and you can control what to substitute in the output.

Read more...

 

No Comments