]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_deflate.conf
- up to 2.4.16
[packages/apache.git] / apache-mod_deflate.conf
index ea2c643137b0efedc3697e8f418d02803544aaae..942867970d158d845bef8299d4d14bfbe51e00eb 100644 (file)
@@ -1,7 +1,7 @@
-# $Id$
 LoadModule deflate_module              modules/mod_deflate.so
 
 # Safe but working settings - compress only that types:
+AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript
 AddOutputFilterByType DEFLATE application/x-httpd-php
 AddOutputFilterByType DEFLATE application/xhtml+xml
 AddOutputFilterByType DEFLATE image/svg+xml
@@ -30,5 +30,5 @@ AddOutputFilterByType DEFLATE text/xml
 
 <IfModule mod_headers.c>
        # Make sure proxies don't deliver the wrong content
-       Header append Vary User-Agent env=!dont-vary
+       Header append Vary Accept-Encoding env=!dont-vary
 </IfModule>
This page took 0.088285 seconds and 4 git commands to generate.