Mega Code Archive

 
Categories / ASP.Net / Page
 

Asp cache by browser

<%@Page Language="C#"%> <%@OutputCache Duration="10" VaryByParam="none" VaryByCustom="browser" %> <html> <body> <asp:panel id="pnlTest" runat="server">   Page executed: <% = DateTime.Now %><br /> </asp:panel> </body> </html>