What is Fragment Caching ?

 Posted by Akiii on 5/18/2012 | Category: ASP.NET Interview questions | Views: 4057 | Points: 40
Answer:

Fragment caching is a mechanism in which specific portions of a page is cached rather than the whole page. This is done by the use of user controls.

<%@ OutputCache Duration="90" VaryByParam="None"  %>




Thanks and Regards
Akiii


| Alert Moderator 

Comments or Responses

Posted by: Gemamgall on: 6/27/2012 | Points: 10

There are three ways of caching in ASP.NET

1) Page Cache: this is used to cache whole page.
2) Fragment Cache: this is used to cache user controls.
3) Data Cache: this is used to cache small piece of data.

Login to post response