]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_deflate.conf
- package fcgistarter
[packages/apache.git] / apache-mod_deflate.conf
index ea2c643137b0efedc3697e8f418d02803544aaae..bfaa67c67f33b1b32805fce0e623fcda9305ab5b 100644 (file)
@@ -2,6 +2,7 @@
 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 +31,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.024227 seconds and 4 git commands to generate.