From: Michael Andreen Date: Thu, 16 Apr 2009 19:04:35 +0000 (+0200) Subject: Set cache-control to public for static content X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=1320d8225ee2b63f2c297330500d14dcfd3ea42c Set cache-control to public for static content --- diff --git a/apache-conf.conf b/apache-conf.conf index 0623fbb..4c21de9 100644 --- a/apache-conf.conf +++ b/apache-conf.conf @@ -112,6 +112,7 @@ NameVirtualHost *:443 #ExpiresByType text/css "access plus 1 week" #ExpiresByType application/javascript "access plus 1 week" #ExpiresByType image/png "access plus 1 week" + Header append Cache-Control "public" AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml