Update .htaccess

This commit is contained in:
Kyle
2020-12-17 09:14:41 -08:00
parent 8d2959be10
commit 82e7ef4185

View File

@@ -1 +1,16 @@
ErrorDocument 404 https://cardconjurer.com/404.php ErrorDocument 404 https://cardconjurer.com/404.php
<IfModule mod_headers.c>
#YEAR
<filesMatch "\.(png|svg)$">
Header set Cache-Control "max-age=31536000, public"
</filesMatch>
#MONTH
<filesMatch "\.(css|html)$">
Header set Cache-Control "max-age=2678400, public"
</filesMatch>
#WEEK
<filesMatch "\.(js)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
</IfModule>