From bb33e81e7653cc5c16d53d1d4a2e5904514c398a Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 17 Dec 2020 09:26:12 -0800 Subject: [PATCH] Revert "Update .htaccess" This reverts commit 2e2c3f24d778df438118f40c39b4b8c0f679e28a. --- .htaccess | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.htaccess b/.htaccess index 930e495b..8da42bc8 100644 --- a/.htaccess +++ b/.htaccess @@ -1,17 +1,13 @@ 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 + +Header set Cache-Control "max-age=31536000, public" + + + +Header set Cache-Control "max-age=604800, public" + + + +Header set Cache-Control "max-age=86400, public" + \ No newline at end of file