Update .htaccess

This commit is contained in:
Kyle
2020-12-16 21:10:17 -08:00
parent 2e2c3f24d7
commit 8d2959be10

View File

@@ -1,17 +1 @@
ErrorDocument 404 https://cardconjurer.com/404.php ErrorDocument 404 https://cardconjurer.com/404.php
# Leverage browser caching using mod_expires #
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
# End of Leverage browser caching using mod_expires #