Ser*_*jev 7 html firefox caching button
我发现当按下后退按钮时,即使我发送以下标题,它也会从浏览器缓存中获取上一页:
Test1.aspx
Server ASP.NET Development Server/9.0.0.0
Date Wed, 24 Mar 2010 17:49:40 GMT
X-AspNet-Version 2.0.50727
Location Test2.aspx
Cache-Control no-cache, no-store
Pragma no-cache
Expires -1
Content-Type text/html; charset=utf-8
Content-Length 189
Connection Close
Run Code Online (Sandbox Code Playgroud)
过期应该是日期+时间戳,缓存控制的“must-revalidata”和“max-age”也可能有帮助吗?
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4870 次 |
| 最近记录: |