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