关于IE缓存

禁止服务器缓存:

<meta http-equiv="Expires" CONTENT="0">



禁止浏览器缓存:

HTML->
<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<meta HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">



JSP->
response.setHeader("Pragma","No-Cache");
response.setHeader("Cache-Control","No-Cache");
response.setDateHeader("Expires", 0);


你可能感兴趣的:(java,jsp,浏览器,cache,IE)