How to record how much bandwidth i save using gzip?

Kiswono Prayogo kiswono at gmail.com
Sat Oct 31 12:13:13 MSK 2009


Hi all, i want to know, how much bandwidth i save using gzip compression, is
it available just like apache did:

localhost ::1 - - [29/Oct/2009:10:54:43 +0700] "GET /icons/folder.gif
HTTP/1.1" 200 232 mod_deflate: 95 pct.
localhost ::1 - - [29/Oct/2009:10:54:43 +0700] "GET /icons/folder.gif
HTTP/1.1" 304 - mod_deflate: - pct.
localhost ::1 - - [29/Oct/2009:10:54:43 +0700] "GET /icons/blank.gif
HTTP/1.1" 200 158 mod_deflate: 94 pct.
localhost ::1 - - [29/Oct/2009:10:54:43 +0700] "GET /icons/image2.gif
HTTP/1.1" 200 313 mod_deflate: 95 pct.
localhost ::1 - - [29/Oct/2009:10:54:43 +0700] "GET /icons/unknown.gif
HTTP/1.1" 200 253 mod_deflate: 95 pct.
localhost ::1 - - [29/Oct/2009:10:54:43 +0700] "GET /icons/unknown.gif
HTTP/1.1" 304 - mod_deflate: - pct.
localhost ::1 - - [29/Oct/2009:10:55:19 +0700] "GET / HTTP/1.1" 200 26
mod_deflate: 133 pct.
localhost ::1 - - [29/Oct/2009:10:55:29 +0700] "GET /?name=John HTTP/1.1"
200 30 mod_deflate: 120 pct.

127.0.0.1 ::1 - - [20/Oct/2009:12:47:00 +0700] "GET
/aplin-homework/index.html HTTP/1.1" 200 2130 mod_deflate: 14 pct.
127.0.0.1 ::1 - - [20/Oct/2009:12:47:00 +0700] "GET
/aplin-homework/style.css HTTP/1.1" 200 1516 mod_deflate: 20 pct.
127.0.0.1 ::1 - - [20/Oct/2009:12:47:00 +0700] "GET
/aplin-homework/i/c_name.gif HTTP/1.1" 200 209 mod_deflate: 83 pct.
127.0.0.1 ::1 - - [20/Oct/2009:12:47:00 +0700] "GET /aplin-homework/i/m1.jpg
HTTP/1.1" 200 575 mod_deflate: 86 pct.
127.0.0.1 ::1 - - [20/Oct/2009:12:47:00 +0700] "GET /aplin-homework/i/m2.jpg
HTTP/1.1" 200 393 mod_deflate: 77 pct.
127.0.0.1 ::1 - - [20/Oct/2009:12:47:00 +0700] "GET /aplin-homework/i/m3.jpg
HTTP/1.1" 200 753 mod_deflate: 86 pct.

Regards,
Kiswono
GB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091031/002e252d/attachment.html>


More information about the nginx mailing list