Response.Buffer = true;
Response.CacheControl = "no-cache";
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1);
Response.Expires = 0;
在模式窗口中使用
本文介绍了如何通过设置HTTP响应头来禁用客户端和代理服务器的缓存,包括使用Response对象设置ExpiresAbsolute、Expires及CacheControl等属性的具体方法。
Response.Buffer = true;
Response.CacheControl = "no-cache";
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1);
Response.Expires = 0;
在模式窗口中使用

被折叠的 条评论
为什么被折叠?