mirror of
https://github.com/kd2org/picodav.git
synced 2024-12-22 13:42:14 +01:00
Shorten cache
FossilOrigin-Name: 22d55c18f262580e43ee82e2b2f7d5dc945666827d718336acbb25fea8a18e84
This commit is contained in:
parent
0cf259ee95
commit
baafb3f991
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue