Shorten cache
This commit is contained in:
parent
f34acf7627
commit
ea3510e3df
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ namespace {
|
||||||
header('Content-Type: text/css', true);
|
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";
|
$ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT";
|
||||||
header("Expires: " . $ts);
|
header("Expires: " . $ts);
|
||||||
header("Pragma: cache");
|
header("Pragma: cache");
|
||||||
|
|
Loading…
Reference in a new issue