Shorten cache

FossilOrigin-Name: 22d55c18f262580e43ee82e2b2f7d5dc945666827d718336acbb25fea8a18e84
This commit is contained in:
bohwaz 2022-11-22 02:41:47 +00:00
parent 0cf259ee95
commit baafb3f991

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