What is fragment caching?

 Posted by Rajni.Shekhar on 4/12/2012 | Category: ASP.NET Interview questions | Views: 1935 | Points: 40
Answer:

Fragment Caching provides to cache a specific portion of the page, not the whole page. Fragment Caching is achieved by implementing user controls. User controls then implemeted on pages and cache each user controls individually.

Example:


MyUserControl.ascx
<%@ OutputCache Duration='100' VaryByParam='none' %>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response