How to disable Apache http compression (mod_deflate) when SSL stream is compressed
- by Mohammad Ali
I found that Goggle Chrome supports ssl compression and Firefox should support it soon.
I'm trying to configure Apache to to disable http compression if the ssl compression is used to prevent CPU overhead with the configuration option:
SetEnvIf SSL_COMPRESS_METHOD DEFLATE no-gzip
While the custom log (using %{SSL_COMPRESS_METHOD}x) shows that the ssl layer compression method is DEFLATE, the above option did not work and the http response content is still being compressed by Apache.
I had to use the option:
BrowserMatchNoCase ".Chrome." no-gzip'
I prefer if there are more general method in case other browsers supports ssl compression or some has a version of chrome that does not have ssl compression.