html 页面禁止缓存
2015-01-04 14:04
218 查看
HTML: <META HTTP-EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"> <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"> <META HTTP-EQUIV="expires" CONTENT="0"> ASP response.expires=0 response.addHeader("pragma","no-cache") response.addHeader("Cache-Control","no-store, must-revalidate") PHP header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-store, must-revalidate"); header("Pragma: no-cache"); JSP: response.addHeader("Cache-Control", "no-store, must-revalidate"); <p>response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:01 GMT");</p><p> </p><p>转载自:<a target=_blank href="http://blog.csdn.net/kevinpake/article/details/12966617">http://blog.csdn.net/kevinpake/article/details/12966617</a></p>
相关文章推荐
- HTML页面和JSP页面禁止缓存
- Html、Asp、Php、Jsp禁止页面缓存
- 禁止html页面中的缓存
- html页面禁止缓存
- 转:Html+Asp+Php+Jsp:4种语言禁止浏览器缓存页面的方法+真正防止html缓存的手技术
- .Html+Asp+asp.net(C#)禁止浏览器缓存页面的方法-禁止缓存
- HTML页面和JSP页面禁止缓存
- 禁止HTML页面缓存
- html页面禁止缓存
- Html+Asp+Php+Jsp:4种语言禁止浏览器缓存页面的方法
- html页面禁止缓存
- html禁止缓存的方法,asp禁止缓存的方法,php禁止缓存的方法,jsp禁止缓存的方法
- jsp页面禁止客户端缓存
- php禁止页面缓存输出
- 用filter解决汉字编码及禁止页面缓存
- html禁止缓存的方法,asp禁止缓存的方法,php禁止缓存的方法,jsp禁止缓存的方法
- 禁止页面缓存
- 使用继承来处理禁止客户端页面缓存和检查权限等功能
- 点击HTML表单链接后,禁止页面跳到顶部的解决办法
- php 禁止页面缓存输出