Revert "Update .htaccess"

This reverts commit 2e2c3f24d7.
This commit is contained in:
Kyle
2020-12-17 09:26:12 -08:00
parent f622c84158
commit bb33e81e76

View File

@@ -1,17 +1,13 @@
ErrorDocument 404 https://cardconjurer.com/404.php ErrorDocument 404 https://cardconjurer.com/404.php
# Leverage browser caching using mod_expires # <filesMatch ".(svg|jpg|jpeg|png|gif|ico)$">
<IfModule mod_expires.c> Header set Cache-Control "max-age=31536000, public"
ExpiresActive On </filesMatch>
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year" <filesMatch ".(css)$">
ExpiresByType image/gif "access plus 1 year" Header set Cache-Control "max-age=604800, public"
ExpiresByType image/png "access plus 1 year" </filesMatch>
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month" <filesMatch ".(js|php|html)$">
ExpiresByType text/x-javascript "access plus 1 month" Header set Cache-Control "max-age=86400, public"
ExpiresByType application/x-shockwave-flash "access plus 1 month" </filesMatch>
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
# End of Leverage browser caching using mod_expires #