如何防止IE缓存页面文件
如何防止IE缓存页面文件详细介绍
如何防止IE缓存页面文件
清除缓存,防止模式窗口页面不更新的情况:
Code:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTEN
ZWsMRwrT="Mon, 23 Jan 1978 20:52:30 GMT">
<%
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"
%>
header("Expires: Mon, 26 J
ZWsMRwrul 1997 05:00:00 GMT");
he ZWsMRwrader("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
JSP
response.setHeader("Pragma
","No-Cache");
response.setHeader("Cache-Control","No-Cache");
response.setDateHeader("Expires", 0);
本文标题: 如何防止IE缓存页面文件 ,