I've read on a couple of blogs, notably here http://www.codinghorror.com/blog/2008/10/youre-reading-the-worlds-most-dangerous-pr开发者_StackOverflow社区ogramming-blog.html there are some advantages to using deflate zlib compression by comparisson to gzip one.
I am trying to setup apache to only do deflate so I can run some tests. However, I am having difficulty finding to configure mod_deflate to only do deflate and not gzip.
Does anyone know the write configuration parameters.
-- Thank you.
It's not possible. Apache2's mod_deflate (confusingly) only supports the gzip format.
As demonkoryu said, mod_deflate supports only the gzip format.
Deflate compression browser compatibility and advantages over GZIP
In the above discussion with links about the disadvantages on using deflate instead of gzip, it looks like you should be worried in particular about browser support: http://www.vervestudios.co/projects/compression-tests/results
精彩评论