Commit b1f3b243 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add cache headers, which never made it over from the classic interface.

Might explain a lot annoying cache behavior.
parent 21413c23
ErrorDocument 404 /error.php
ErrorDocument 403 /error.php
<FilesMatch "\.(js|css|html)$">
Header append Cache-Control "no-cache, must-revalidate"
Header set Pragma "no-cache"
DirectoryIndex landing.php
RewriteBase /
......@@ -103,6 +103,10 @@ $PAGEHEADER_FUNCTION = function($thinheader = 0, $ignore1 = NULL,
$showmenus = 1;
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
echo "<html>
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