From 9b93df4e22e58c4dc9a9a95652ab3e81f0e48390 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 27 Dec 2011 18:08:49 +0000 Subject: [PATCH] make apache cache-control/expires settings only apply to static files; shimmie will take care of the web pages --- .htaccess | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 6a0c5ef1..ba0fda88 100644 --- a/.htaccess +++ b/.htaccess @@ -30,9 +30,12 @@ DefaultType image/jpeg ExpiresActive On - ExpiresDefault "access plus 1 month" - ExpiresByType text/html "now" - ExpiresByType text/plain "now" + + Header set Cache-Control "public, max-age=2629743" + ExpiresDefault "access plus 1 month" + + #ExpiresByType text/html "now" + #ExpiresByType text/plain "now"