添加禁用浏览器缓存

This commit is contained in:
强 杨 2023-10-28 14:05:10 +08:00
parent ba01228675
commit 3c6e080dd7
4 changed files with 24 additions and 1 deletions

View File

@ -8,6 +8,12 @@
<title>导入外部答题卡制作模板</title>
<script src="../js/jquery-1.10.2.min.js"></script>
<link href="../css/default.css" rel="stylesheet" />
<%-- 禁用浏览器缓存 --%>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Cache" content="no-cache">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</head>
<body>
<div class="divBG backgroundGo" style="display: none;"></div>

View File

@ -11,6 +11,11 @@
<script src="../js/jquery.cookie.js"></script>
<link href="../css/SplitQuestion.css" rel="stylesheet" />
<%-- 禁用浏览器缓存 --%>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Cache" content="no-cache">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</head>
<body>
<input type="hidden" id="QuestionTempValue" value="<%=QuestionTempValue %>" />

View File

@ -5,6 +5,12 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<%-- 禁用浏览器缓存 --%>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Cache" content="no-cache">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title></title>
</head>
<body>

View File

@ -8,6 +8,12 @@
<title>导入外部答题卡制作模板</title>
<script src="../js/jquery-1.10.2.min.js"></script>
<link href="../css/index.css" rel="stylesheet" />
<%-- 禁用浏览器缓存 --%>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Cache" content="no-cache">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</head>
<body>
<input type="text" style=" display:none;" value="<%=Bindlist %>" id="Bindlist" />