aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-09-01 22:04:44 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-09-01 22:04:44 +0000
commitccb121a1a56818fe04c32ca94ee8b2e3ff67f730 (patch)
tree3fe4b2d404c991ac44d15c68bc955d119608ab52 /phpBB
parentd48ebf9e048fcd581f73349a42c4ff9d55f24694 (diff)
downloadforums-ccb121a1a56818fe04c32ca94ee8b2e3ff67f730.tar
forums-ccb121a1a56818fe04c32ca94ee8b2e3ff67f730.tar.gz
forums-ccb121a1a56818fe04c32ca94ee8b2e3ff67f730.tar.bz2
forums-ccb121a1a56818fe04c32ca94ee8b2e3ff67f730.tar.xz
forums-ccb121a1a56818fe04c32ca94ee8b2e3ff67f730.zip
Added additional cache control headers
git-svn-id: file:///svn/phpbb/trunk@962 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/admin/page_header_admin.php3
-rw-r--r--phpBB/includes/page_header.php3
2 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/admin/page_header_admin.php b/phpBB/admin/page_header_admin.php
index 86cf6fee3f..8ef73f17f2 100644
--- a/phpBB/admin/page_header_admin.php
+++ b/phpBB/admin/page_header_admin.php
@@ -155,6 +155,9 @@ $template->assign_vars(array(
"T_SPAN_CLASS3" => $theme['span_class3'])
);
+header ("Cache-Control: no-store, no-cache, must-revalidate");
+header ("Cache-Control: pre-check=0, post-check=0, max-age=0");
+header ("Pragma: no-cache");
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index b28d84fca2..93af42300e 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -286,6 +286,9 @@ if(!$userdata['session_logged_in'])
$template->assign_block_vars("loginbox", array());
}
+header ("Cache-Control: no-store, no-cache, must-revalidate");
+header ("Cache-Control: pre-check=0, post-check=0, max-age=0");
+header ("Pragma: no-cache");
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");