- #5900: Fix browser caching issues.

4.6.x
Steven Wittens 2005-03-18 09:13:55 +00:00
parent 526ac35ae1
commit 98c2d5b2b8
1 changed files with 7 additions and 0 deletions

View File

@ -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");
}
}
}