Which type if caching will be used if we want to cache the portion of a page instead of whole page? Technology Community › Category: ASP.NET › Which type if caching will be used if we want to cache the portion of a page instead of whole page? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Fragment Caching: It caches the portion of the page generated by the request. For that, we can create user controls with the below code: <%@ OutputCache Duration="120" VaryByParam="CategoryID;SelectedID"%>