我知道我们可以使用
禁用jsp缓存<%
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setdateHeader("Expires", 0);
%>
但我正在寻找在没有scriplets的jsp文件中执行此操作
答案 0 :(得分:0)
我找到了
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />