summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-03-18 09:13:55 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-03-18 09:13:55 +0000
commit98c2d5b2b8d9e378ca9727c7ebb4e75674825934 (patch)
tree1c9d4e32df3dec504bc8f42db9582a1cf33ec9d5
parent526ac35ae179360574c9aded8db750a4aac59012 (diff)
downloadbrdo-98c2d5b2b8d9e378ca9727c7ebb4e75674825934.tar.gz
brdo-98c2d5b2b8d9e378ca9727c7ebb4e75674825934.tar.bz2
- #5900: Fix browser caching issues.
-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");
+ }
}
}