projects
/
scientia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f70fc
)
set no cache headers
author
Johannes Keßler
<johannes.kessler@bechtle.com>
Fri, 18 Nov 2022 11:37:04 +0000
(12:37 +0100)
committer
Johannes Keßler
<johannes.kessler@bechtle.com>
Fri, 18 Nov 2022 11:37:04 +0000
(12:37 +0100)
webroot/index.php
patch
|
blob
|
history
diff --git
a/webroot/index.php
b/webroot/index.php
index 18682a63a7409afb1d7c1253261eeeff751932ff..e8aa27eeac17b8d061340ce6e104d20ea78aac5a 100644
(file)
--- 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();