add cache instructions to htaccess
This commit is contained in:
parent
2bf1b71163
commit
646e5bebb5
1 changed files with 15 additions and 0 deletions
|
@ -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 a new issue