Files
cardconjurer/.htaccess
Kyle 019b4f1291 Revert "Update .htaccess"
This reverts commit 0b58776728.
2020-12-17 09:25:56 -08:00

16 lines
409 B
ApacheConf

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>