浏览代码

下载页面禁止缓存

jace 6 年之前
父节点
当前提交
fc23bf6cc5
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      normand/frontend/frontend/views/download/download.php

+ 6 - 0
normand/frontend/frontend/views/download/download.php

@@ -7,6 +7,12 @@
  */
 use yii\helpers\Url;
 ?>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta http-equiv="X-UA-Compatible" content="IE=8">
+<meta http-equiv="Expires" content="0">
+<meta http-equiv="Pragma" content="no-cache">
+<meta http-equiv="Cache-control" content="no-cache">
+<meta http-equiv="Cache" content="no-cache">
 <div class="content">