]> ruin.nu Git - ndwebbie.git/commitdiff
Set cache-control to public for static content
authorMichael Andreen <harv@ruin.nu>
Thu, 16 Apr 2009 19:04:35 +0000 (21:04 +0200)
committerMichael Andreen <harv@ruin.nu>
Thu, 16 Apr 2009 19:04:35 +0000 (21:04 +0200)
apache-conf.conf

index 0623fbbf6d2d2417c30eb6e775375db115d55c52..4c21de9a6bc84d90a1378bef9d88c229157258b0 100644 (file)
@@ -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