Files
cardconjurer/.htaccess
2020-12-20 10:54:03 -08:00

20 lines
487 B
ApacheConf

ErrorDocument 404 /404.php
<IfModule mod_headers.c>
#YEAR
<filesMatch "\.(png|svg|ttf)$">
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|php)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
#creator.js
<files creator.js>
Header set Cache-Control "max-age=60, public"
</files>
</IfModule>