Skip to content

Commit

Permalink
Increased caching time for combine resources (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
WebVPF authored Jan 17, 2024
1 parent 412b324 commit 6bec5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/classes/CombineAssets.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public function getContents($cacheKey)
*/
$response = Response::make();
$response->header('Content-Type', $mime);
$response->header('Cache-Control', 'private, max-age=604800');
$response->header('Cache-Control', 'private, max-age=31536000');
$response->setLastModified(new DateTime($lastModifiedTime));
$response->setEtag($etag);
$response->setPublic();
Expand Down

0 comments on commit 6bec5ed

Please sign in to comment.