add cache instructions to htaccess
parent
2bf1b71163
commit
646e5bebb5
|
@ -1 +1,16 @@
|
||||||
ErrorDocument 404 /404.html
|
ErrorDocument 404 /404.html
|
||||||
|
|
||||||
|
ExpiresActive On
|
||||||
|
ExpiresDefault "access plus 600 seconds"
|
||||||
|
ExpiresByType text/css "access plus 1 week"
|
||||||
|
ExpiresByType text/javascript "access plus 1 month"
|
||||||
|
ExpiresByType text/html "access plus 1 seconds"
|
||||||
|
ExpiresByType application/javascript "access plus 1 month"
|
||||||
|
ExpiresByType application/x-javascript "access plus 1 month"
|
||||||
|
ExpiresByType image/gif "access plus 1 week"
|
||||||
|
ExpiresByType image/jpeg "access plus 1 week"
|
||||||
|
ExpiresByType image/png "access plus 1 week"
|
||||||
|
ExpiresByType image/x-icon "access plus 1 month"
|
||||||
|
ExpiresByType image/svg+xml "access plus 1 week"
|
||||||
|
ExpiresByType application/x-font-woff "access plus 1 week"
|
||||||
|
ExpiresByType application/font-woff2 "access plus 1 week"
|
||||||
|
|
Loading…
Reference in New Issue