Files
cardconjurer/.htaccess
2020-12-23 11:18:40 -08:00

20 lines
481 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)$">
Header set Cache-Control "max-age=2678400, public"
</filesMatch>
#WEEK
<filesMatch "\.(js|php)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
#HOUR
#<files creator.js>
# Header set Cache-Control "max-age=3600, public"
#</files>
</IfModule>