Mega Code Archive
Categories
/
ASP.Net Tutorial
/
Cache
You enable Page Output Caching by adding an %@ OutputCache % directive to a page
The following page caches its contents for 15 seconds. <%@ Page Language="C#" %> <%@ OutputCache Duration="15" VaryByParam="none" %>
Cache Page Output