summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index b60ae23c9..911632f20 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -468,6 +468,13 @@ function drupal_page_header() {
bootstrap_invoke_all('exit');
exit();
}
+ else {
+ header("Expires: Sun, 19 Nov 1978 05:00:00 GMT");
+ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+ header("Cache-Control: no-store, no-cache, must-revalidate");
+ header("Cache-Control: post-check=0, pre-check=0", false);
+ header("Pragma: no-cache");
+ }
}
}