mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-12 08:26:44 +01:00
Fixed image caching issue
This commit is contained in:
parent
6189a3f112
commit
381184ae0f
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
$lastModified = filemtime($filename);
|
$lastModified = filemtime($filename);
|
||||||
|
|
||||||
header('Last-Modified: ' . $lastModified);
|
$response->header('Last-Modified', $lastModified);
|
||||||
header('Cache-Control: max-age=' . (60 * 60 * 24 * 7));
|
$response->header('Cache-Control', 'max-age=' . (60 * 60 * 24 * 7));
|
||||||
|
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue