摘要: 使用Cache:<%@ OutputCache Duration="15" VaryByPara="None" %>页面使用Cache,Cache的有效期为15 seconds使用代码表示,放在Page_Load里面:////Cache Manager可以控制这个页面//Response.Cache.SetCacheability(HttpCacheability.Public);////告诉Cache Manager,页面的有效期为当前时间+15秒//Response.Cache.SetExpires(DateTime.Now.AddSec 阅读全文
posted @ 2009-08-27 18:06 kntao 阅读(183) 评论(0) 推荐(0)