禁止页面缓存
2006-04-04 09:58
169 查看
1. JSP/Servlet
<%
response.setHeader("Pargma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
2. HTML
<head>
<meta http-equuiv="Pragma" content="no-cache">
<meta http-equuiv="Cache-Control" content=no-cache">
<meta http-equuiv="expires" content="0">
</head>
<%
response.setHeader("Pargma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
2. HTML
<head>
<meta http-equuiv="Pragma" content="no-cache">
<meta http-equuiv="Cache-Control" content=no-cache">
<meta http-equuiv="expires" content="0">
</head>
相关文章推荐
- php 禁止页面缓存代码
- htm,asp,php 禁止页面缓存
- 禁止浏览器缓存所有动态页面的过滤器:
- jsp页面禁止缓存设置
- jsp实用两例:用filter解决汉字编码及禁止页面缓存 和 用listener实现在线人数统计
- (转载)禁止页面缓存的方法
- Asp.Net MVC 禁止页面缓存
- jsp实用两例:用filter解决汉字编码及禁止页面缓存 和 用listener实现在线人数统计
- jsp页面禁止缓存设置
- PHP禁止页面缓存
- javaweb之response随机生成图片验证码加载到web页面中(本实例使用了禁止浏览器缓存头),并且单击使用javascript换图片
- .Html+Asp+asp.net(C#)禁止浏览器缓存页面的方法-禁止缓存
- 禁止页面缓存
- HTML页面和JSP页面禁止缓存
- 禁止页面缓存的方法总结
- 禁止页面缓存的几种方法
- 禁止页面缓存的办法
- php禁止浏览器使用缓存页面的方法
- 用filter解决汉字编码及禁止页面缓存 和 用listener实现在线人数统计
- 小技巧:禁止Chrome 的页面缓存