]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_deflate.conf
- typo
[packages/apache.git] / apache-mod_deflate.conf
index 275585fb006204a763646b57a28b8825b30502e9..942867970d158d845bef8299d4d14bfbe51e00eb 100644 (file)
@@ -1,8 +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
+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
@@ -31,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.026918 seconds and 4 git commands to generate.