From: Johannes Keßler Date: Fri, 18 Nov 2022 11:37:04 +0000 (+0100) Subject: set no cache headers X-Git-Tag: 1.1~24 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=7f5e9580d073889b06d27f98ac45539df385d84d;p=scientia.git set no cache headers --- diff --git a/webroot/index.php b/webroot/index.php index 18682a6..e8aa27e 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -93,6 +93,9 @@ require_once 'view/'.$_view.'/'.$_view.'.php'; # header information header('Content-type: text/html; charset=UTF-8'); +header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); if(isset($TemplateData['refresh']) && !empty($TemplateData['refresh'])) { header('Location: '.PATH_WEBROOT.$TemplateData['refresh']); exit();