更新时间:2023-12-02 23:23:16
弄清楚了.这是我发现可以正常工作的地方:
Figured it out. This is what I found to work:
Cache-Control:no-cache, no-store
Connection:Close
Content-Length:7683
Content-Type:text/html; charset=utf-8
Date:Wed, 09 Jun 2010 03:37:38 GMT
Expires:-1
Pragma:no-cache
Server:ASP.NET Development Server/9.0.0.0
X-AspNet-Version:2.0.50727
X-AspNetMvc-Version:2.0
使用以下ASP.NET代码实现:
achieved with the following ASP.NET code:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetAllowResponseInBrowserHistory(false);
Response.Cache.SetMaxAge(new TimeSpan(0));
Response.Cache.SetNoStore();
Response.Cache.SetExpires(new DateTime(1940, 1, 1));