mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Optimizer를 통한 JS/CSS 캐시의 유효일자를 30일에서 1일로 조절
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3512 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b2f04f854b
commit
3b2b9b2265
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ if(isset($_SERVER["HTTP_IF_MODIFIED_SINCE"])) {
|
|||
header("Content-Type: '.$content_type.'; charset=utf-8");
|
||||
header("Date: '.substr(gmdate('r'), 0, -5).'GMT");
|
||||
header("Expires: '.substr(gmdate('r', strtotime('+1 MONTH')), 0, -5).'GMT");
|
||||
header("Cache-Control: private, max-age=2592000");
|
||||
header("Cache-Control: private, max-age=86400");
|
||||
header("Pragma: cache");
|
||||
header("Last-Modified: '.substr(gmdate('r', $mtime), 0, -5).'GMT");
|
||||
header("ETag: '.dechex($unique).'-'.dechex($size).'-'.dechex($mtime).'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue