Files
cardconjurer/.htaccess
2020-12-21 09:13:38 -08:00

24 lines
568 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>
#DAY
<files header.php>
Header set Cache-Control "max-age=86400, public"
</files>
#HOUR
<files creator.js>
Header set Cache-Control "max-age=3600, public"
</files>
</IfModule>