Shorten cache

This commit is contained in:
bohwaz 2022-11-22 03:41:47 +01:00
parent f34acf7627
commit ea3510e3df

View file

@ -552,7 +552,7 @@ namespace {
header('Content-Type: text/css', true);
}
$seconds_to_cache = 3600 * 24 * 365;
$seconds_to_cache = 3600 * 24 * 5;
$ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT";
header("Expires: " . $ts);
header("Pragma: cache");