Browse Source

下载页面禁止缓存

jace 6 years ago
parent
commit
fc23bf6cc5
1 changed files with 6 additions and 0 deletions
  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">