mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Create .htaccess
This commit is contained in:
16
.htaccess
Normal file
16
.htaccess
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
ErrorDocument 404 https://cardconjurer.com/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)$">
|
||||||
|
Header set Cache-Control "max-age=604800, public"
|
||||||
|
</filesMatch>
|
||||||
|
</IfModule>
|
Reference in New Issue
Block a user