Add cache policy
This commit is contained in:
parent
91d3de5db2
commit
e6dec079f9
|
@ -1,3 +1,10 @@
|
||||||
|
<FilesMatch "\.(ico|svg|avif|webp|jpg|jpeg|png|gif|woff2)$">
|
||||||
|
Header set Cache-Control "max-age=31536000, public"
|
||||||
|
</FilesMatch>
|
||||||
|
<FilesMatch "\.(css|js)$">
|
||||||
|
Header set Cache-Control "no-cache, public"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
# Template to enable clean URLs for the Apache web server.
|
# Template to enable clean URLs for the Apache web server.
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
Loading…
Reference in New Issue