Commit e65c26718bfe6092bde9dc462e4d70b970a9dcf5
1 parent
064efea4
cache controll header
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
.htaccess
@@ -75,16 +75,16 @@ AddDefaultCharset utf-8 | @@ -75,16 +75,16 @@ AddDefaultCharset utf-8 | ||
75 | ExpiresByType image/ico "access plus 1 month" | 75 | ExpiresByType image/ico "access plus 1 month" |
76 | ExpiresByType image/x-icon "access plus 1 month" | 76 | ExpiresByType image/x-icon "access plus 1 month" |
77 | ExpiresByType text/html "access plus 600 seconds" | 77 | ExpiresByType text/html "access plus 600 seconds" |
78 | - ExpiresByType text/javascript "access 2 days" | ||
79 | - ExpiresByType text/css "access 2 days" | 78 | + ExpiresByType text/javascript "access 3 days" |
79 | + ExpiresByType text/css "access 3 days" | ||
80 | # Set the default expiry times. | 80 | # Set the default expiry times. |
81 | - ExpiresDefault "access plus 2 days" | 81 | + ExpiresDefault "access plus 3 days" |
82 | </IfModule> | 82 | </IfModule> |
83 | 83 | ||
84 | <ifModule mod_headers.c> | 84 | <ifModule mod_headers.c> |
85 | 85 | ||
86 | <filesMatch "\.(css|js)(\?v=\d+)?$"> | 86 | <filesMatch "\.(css|js)(\?v=\d+)?$"> |
87 | - Header set Cache-Control "max-age=172800, public" | 87 | + Header set Cache-Control "max-age=259200, public" |
88 | </filesMatch> | 88 | </filesMatch> |
89 | 89 | ||
90 | </ifModule> | 90 | </ifModule> |
91 | \ No newline at end of file | 91 | \ No newline at end of file |