HtmlJsp缓存

xiaoxiao2022-06-11  27

<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"> 或者<META HTTP-EQUIV="expires" CONTENT="0"> <% response.setHeader("Cache-Control","no-store"); response.setHeader("Pragrma","no-cache"); response.setDateHeader("Expires",0); %> 转载自: [url]http://wjt276.iteye.com/blog/454930[/url] 另外,可以通过过滤器来实现:
转载请注明原文地址: https://www.6miu.com/read-4931688.html

最新回复(0)