Fragment caching is used to cache a portion of a target page instead of the whole page. The target portion can be generated by request. For this, developers can create a control with the below syntax:

<%@ OutputCache Duration="120" VaryByParam="CategoryID;SelectedID"%>

BY Best Interview Question ON 20 Jan 2019

Suggest An Answer