开发者

application page caching

开发者 https://www.devze.com 2023-04-05 06:15 出处:网络
I\'d like to cache a particular page at application level. What is the the simplest way of doing this?

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

精彩评论

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