Request big JS file very slow if enable gzip on

Valentin V. Bartenev vbart at nginx.com
Mon Oct 27 03:44:10 UTC 2014


On Monday 27 October 2014 10:29:46 Dewangga wrote:
> Hi,
> 
> Have you tried to put `gzip_comp_level` on level 9? Based on
> http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_comp_level
> 

This is a very bad advice.  The difference in compression ratio
between level 1 and level 9 is about ~10%, while the last one is
a few times more CPU hungry.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list