html页面禁止缓存
来源:互联网 发布:端口号范围 编辑:程序博客网 时间:2024/05/16 17:07
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");
<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");
0 0
- html页面禁止缓存
- html页面禁止缓存
- html页面禁止缓存
- html 页面禁止缓存
- 禁止html页面中的缓存
- html jsp 禁止浏览器缓存页面
- .Html+Asp+asp.net(C#)禁止浏览器缓存页面的方法-禁止缓存
- html禁止缓存代码
- html禁止缓存
- 关于禁止html缓存
- 禁止页面缓存
- 禁止页面使用缓存~
- 页面禁止缓存
- 禁止页面缓存
- jsp禁止页面缓存
- 禁止页面缓存
- PHP禁止页面缓存
- 禁止页面缓存
- activity回传数据
- 数据错误(循环冗余检查) 各种解决方法
- PyQt: LineEdit的智能输入提示
- 提高MySQL效率与性能的技巧
- 7.18_java学习_单例设计模式
- html页面禁止缓存
- Web 服务器压力测试实例详解
- 数据库系统、衡量标准与No-sql定位
- oracle 命令收集
- 黑马程序员--7k之交通灯管理系统
- Qt: 释放窗口资源
- 关于有重边的强连通分量
- CDockablePane停靠窗口关联对话框
- 2014年考拉网临床执业医师考试的优势有哪些?