mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-25 20:34:43 -05:00
26 lines
618 B
ApacheConf
26 lines
618 B
ApacheConf
ErrorDocument 404 /404.php
|
|
|
|
<IfModule mod_headers.c>
|
|
#Header set Access-Control-Allow-Origin "*"
|
|
#YEAR
|
|
<filesMatch "\.(png|svg|ttf|ico)$">
|
|
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>
|