application page caching
I'd like to cache a particular page at application level.
What is the the simplest way of doing this?
I tried caching on IIS 7, as per this article but it didn't seem to work:
http://learn.iis.n开发者_运维百科et/page.aspx/154/walkthrough-iis-70-output-caching/
Thanks
you can put this on top of the aspx page:
<%@ OutputCache Duration="60" VaryByParam="None"%>
Source: How to: Set the Cacheability of an ASP.NET Page Declaratively
精彩评论