Home > DeveloperSection > Interviews > Explain the concepts of Post Cache Substitution in .NET

Posted on    May-23-2011 2:44 AM

 ASP.Net ASP.Net 
 1 Answer(s)
  1228  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    May-23-2011 12:00 AM

It works opposite to fragment caching. The entire page is cached, except what is to be kept dynamic. When [OutputCache] attribute is used, the page is cached on both the server and the client. Whereas, you use in case of post cache substitution the page is cached on the server only. HttpResponse.WriteSubstitution method is a way to implement it.

Don't want to miss updates? Please click the below button!

Follow MindStick