Opened 12 years ago
Closed 12 years ago
#171 closed enhancement (fixed)
$gzip_ratio ratio needs documentation
Reported by: | Jens Rantil | Owned by: | vl |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | other | Version: | 1.3.x |
Keywords: | Cc: | ||
uname -a: | Linux XXXXXXXXXXX 2.6.32-5-amd64 #1 SMP Sat May 5 01:12:59 UTC 2012 x86_64 GNU/Linux | ||
nginx -V: | nginx/0.7.67 |
Description
I propose two improvements to this wiki page: http://wiki.nginx.org/HttpGzipModule
- Create a "Variables" section just like http://wiki.nginx.org/HttpCoreModule has and add the
$gzip_ratio
variable to it. Having the same structure on multiple wiki pages will improve browsability/readability. I missed the variable a couple of times because I simply was not lookin in the intro paragraph. - Document exactly how the ratio is calculated. I guess it is
origsize/compressedsize
?
Change History (5)
comment:1 by , 12 years ago
- FYI, official English documentation is here: http://nginx.org/en/docs/http/ngx_http_gzip_module.html, but it also misses the "Embedded Variables" section, like many other modules. Wiki page mainly resembles its contents.
- The data compression ratio is computed traditionally => need not to be documented explicitly.
comment:3 by , 12 years ago
Owner: | changed from | to
---|---|
sensitive: | → 0 |
Status: | new → assigned |
comment:4 by , 12 years ago
Documentation updated - gzip_ratio description added: http://hg.nginx.org/nginx.org/rev/ae15915990ad.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.