Commit fb9572e71ef230bd59bdb7452135ed99183aa132
1 parent
ddc91e83
caching browser
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
.htaccess
... | ... | @@ -67,8 +67,7 @@ AddDefaultCharset utf-8 |
67 | 67 | <IfModule mod_expires.c> |
68 | 68 | # Turn on the module. |
69 | 69 | ExpiresActive on |
70 | - # Set the default expiry times. | |
71 | - ExpiresDefault "access plus 2 days" | |
70 | + | |
72 | 71 | ExpiresByType image/jpg "access plus 1 month" |
73 | 72 | ExpiresByType image/gif "access plus 1 month" |
74 | 73 | ExpiresByType image/jpeg "access plus 1 month" |
... | ... | @@ -76,4 +75,8 @@ AddDefaultCharset utf-8 |
76 | 75 | ExpiresByType image/ico "access plus 1 month" |
77 | 76 | ExpiresByType image/x-icon "access plus 1 month" |
78 | 77 | ExpiresByType text/html "access plus 600 seconds" |
78 | + ExpiresByType text/javascript "access 2 days" | |
79 | + ExpiresByType text/css "access 2 days" | |
80 | + # Set the default expiry times. | |
81 | + ExpiresDefault "access plus 2 days" | |
79 | 82 | </IfModule> |
80 | 83 | \ No newline at end of file | ... | ... |