- #5900: Fix browser caching issues.
parent
526ac35ae1
commit
98c2d5b2b8
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue