html页面禁止缓存
2011-10-24 13:51
344 查看
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"); response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:01 GMT");
相关文章推荐
- Html、Asp、Php、Jsp禁止页面缓存
- 禁止HTML页面缓存
- HTML页面和JSP页面禁止缓存
- html页面禁止缓存
- 禁止html页面中的缓存
- .Html+Asp+asp.net(C#)禁止浏览器缓存页面的方法-禁止缓存
- html 页面禁止缓存
- 转:Html+Asp+Php+Jsp:4种语言禁止浏览器缓存页面的方法+真正防止html缓存的手技术
- Html+Asp+Php+Jsp:4种语言禁止浏览器缓存页面的方法
- html页面禁止缓存
- HTML页面和JSP页面禁止缓存
- html页面清除缓存
- html页面缓存资源
- jsp,html 清除页面缓存
- 点击HTML表单链接后,禁止页面跳到顶部的解决办法
- html页面不使用缓存的代码
- 补漏学习:在Web服务器磁盘上缓存数据和HTML页面
- HTML页面内容禁止选择、复制、右键、禁用移动端长按a标签弹窗
- php 禁止页面缓存代码
- Varnish 缓存rewrite后的html页面