diff --git a/.htaccess b/.htaccess index 7f70fff8..930e495b 100644 --- a/.htaccess +++ b/.htaccess @@ -1 +1,17 @@ -ErrorDocument 404 https://cardconjurer.com/404.php \ No newline at end of file +ErrorDocument 404 https://cardconjurer.com/404.php + +# Leverage browser caching using mod_expires # + + 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" + +# End of Leverage browser caching using mod_expires # \ No newline at end of file