diff options
Diffstat (limited to 'apache2/mods-available')
-rw-r--r-- | apache2/mods-available/deflate.conf | 19 | ||||
-rw-r--r-- | apache2/mods-available/deflate.conf.diff | 22 |
2 files changed, 20 insertions, 21 deletions
diff --git a/apache2/mods-available/deflate.conf b/apache2/mods-available/deflate.conf index d48cef3..f776366 100644 --- a/apache2/mods-available/deflate.conf +++ b/apache2/mods-available/deflate.conf @@ -1,15 +1,12 @@ <IfModule mod_deflate.c> - <IfModule mod_filter.c> - # these are known to be safe with MSIE 6 - AddOutputFilterByType DEFLATE text/html text/plain text/xml - - # everything else may cause problems with MSIE 6 - AddOutputFilterByType DEFLATE text/css - AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript - AddOutputFilterByType DEFLATE application/json - AddOutputFilterByType DEFLATE application/rss+xml - AddOutputFilterByType DEFLATE application/xml - </IfModule> + <IfModule mod_filter.c> + AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css + AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript + AddOutputFilterByType DEFLATE application/json + AddOutputFilterByType DEFLATE application/rss+xml + AddOutputFilterByType DEFLATE application/wasm + AddOutputFilterByType DEFLATE application/xml + </IfModule> </IfModule> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet diff --git a/apache2/mods-available/deflate.conf.diff b/apache2/mods-available/deflate.conf.diff index 4032dd7..20f52f0 100644 --- a/apache2/mods-available/deflate.conf.diff +++ b/apache2/mods-available/deflate.conf.diff @@ -1,10 +1,12 @@ ---- deflate.conf.orig 2014-08-16 21:38:26.000000000 +0200 -+++ deflate.conf 2016-04-28 03:30:27.000000000 +0200 -@@ -6,6 +6,7 @@ - # everything else may cause problems with MSIE 6 - AddOutputFilterByType DEFLATE text/css - AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript -+ AddOutputFilterByType DEFLATE application/json - AddOutputFilterByType DEFLATE application/rss+xml - AddOutputFilterByType DEFLATE application/xml - </IfModule> +--- deflate.conf.orig ++++ deflate.conf +@@ -2,7 +2,9 @@ + <IfModule mod_filter.c> + AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css + AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript ++ AddOutputFilterByType DEFLATE application/json + AddOutputFilterByType DEFLATE application/rss+xml ++ AddOutputFilterByType DEFLATE application/wasm + AddOutputFilterByType DEFLATE application/xml + </IfModule> + </IfModule> |