3
我有这些线在我的Global.asax(的Can I add my caching lines to global.asax?主要是因为)设置HttpCacheability.Public是否也缓存服务器上的页面?
我想现在明白了事情是这样的代码是否纯粹是增加了HTTP标头的页面或者它也使净缓存此页在服务器上持续300秒?
Response.Cache.SetExpires(DateTime.Now.AddSeconds(300));
Response.Cache.SetCacheability(HttpCacheability.Public);