开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜