rendered paste body<IfModule mod_deflate.c>
#<Location />
SetInputFilter DEFLATE
SetOutputFilter DEFLATE
#AddOutputFilterByType DEFLATE text/html text/plain text/xml
# Hacks for broken/old browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# don't compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
# Fix for proxies sending the wrong content
Header append Vary User-Agent env=!dont-vary
#</Location>
# Logging
DeflateFilterNote Input input
DeflateFilterNote Output output
DeflateFilterNote Ratio ratio
LogFormat '%t "%r" %{output}n/%{input}n (%{ratio}n%%)' deflate
CustomLog /var/log/apache2/deflate_log deflate
</IfModule>