Update .htaccess

This commit is contained in:
Kyle
2020-12-20 12:57:33 -08:00
parent c5459053cd
commit 7bea8bd5f7

View File

@@ -6,13 +6,17 @@ ErrorDocument 404 /404.php
Header set Cache-Control "max-age=31536000, public" Header set Cache-Control "max-age=31536000, public"
</filesMatch> </filesMatch>
#MONTH #MONTH
<filesMatch "\.(css|html)$"> <filesMatch "\.(css)$">
Header set Cache-Control "max-age=2678400, public" Header set Cache-Control "max-age=2678400, public"
</filesMatch> </filesMatch>
#WEEK #WEEK
<filesMatch "\.(js|php)$"> <filesMatch "\.(js)$">
Header set Cache-Control "max-age=604800, public" Header set Cache-Control "max-age=604800, public"
</filesMatch> </filesMatch>
#DAY
<filesMatch "\.(php)$">
Header set Cache-Control "max-age=86400, public"
</filesMatch>
#creator.js #creator.js
<files creator.js> <files creator.js>
Header set Cache-Control "max-age=60, public" Header set Cache-Control "max-age=60, public"