Caching.
This commit is contained in:
parent
68a1f42e34
commit
db9a20bd3b
@ -1,5 +1,18 @@
|
|||||||
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json
|
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json
|
||||||
|
|
||||||
|
<FilesMatch "\.(jpg|otf|ico)$">
|
||||||
|
Header set Cache-Control "max-age=29030400, public"
|
||||||
|
</FilesMatch>
|
||||||
|
<FilesMatch "\.(css|js)$">
|
||||||
|
Header set Cache-Control "max-age=5184000, public"
|
||||||
|
</FilesMatch>
|
||||||
|
<FilesMatch "index.html">
|
||||||
|
Header set Cache-Control "max-age=2678400, public"
|
||||||
|
</FilesMatch>
|
||||||
|
<FilesMatch "\.json$">
|
||||||
|
Header set Cache-Control "max-age=86400, public"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
<FilesMatch "Makefile">
|
<FilesMatch "Makefile">
|
||||||
deny from all
|
deny from all
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
Loading…
Reference in New Issue
Block a user