mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
24 lines
568 B
ApacheConf
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> |