Update .htaccess

This commit is contained in:
Kyle
2020-12-21 09:13:38 -08:00
parent 71fc9392f8
commit 1ef2bea3bd

View File

@@ -10,15 +10,15 @@ ErrorDocument 404 /404.php
Header set Cache-Control "max-age=2678400, public" Header set Cache-Control "max-age=2678400, public"
</filesMatch> </filesMatch>
#WEEK #WEEK
<filesMatch "\.(js)$"> <filesMatch "\.(js|php)$">
Header set Cache-Control "max-age=604800, public" Header set Cache-Control "max-age=604800, public"
</filesMatch> </filesMatch>
#DAY #DAY
<filesMatch "\.(php)$"> <files header.php>
Header set Cache-Control "max-age=86400, public" Header set Cache-Control "max-age=86400, public"
</filesMatch> </files>
#creator.js #HOUR
<files creator.js> <files creator.js>
Header set Cache-Control "max-age=60, public" Header set Cache-Control "max-age=3600, public"
</files> </files>
</IfModule> </IfModule>