Fixed image caching issue

This commit is contained in:
nelsonlaquet 2013-09-01 14:08:28 -05:00
parent 6189a3f112
commit 381184ae0f

View file

@ -29,8 +29,8 @@
$lastModified = filemtime($filename);
header('Last-Modified: ' . $lastModified);
header('Cache-Control: max-age=' . (60 * 60 * 24 * 7));
$response->header('Last-Modified', $lastModified);
$response->header('Cache-Control', 'max-age=' . (60 * 60 * 24 * 7));
return $response;
}