Commit 98c2d5b2 authored by Steven Wittens's avatar Steven Wittens
Browse files

- #5900: Fix browser caching issues.

parent 526ac35a
...@@ -468,6 +468,13 @@ function drupal_page_header() { ...@@ -468,6 +468,13 @@ function drupal_page_header() {
bootstrap_invoke_all('exit'); bootstrap_invoke_all('exit');
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");
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment