# Saving Traffic - GZIP

**URL:** <https://www.ruby-forum.com/t/saving-traffic-gzip/188049>\
**Category:** NGINX\
**Created:** [May 4, 2010, 10:13pm UTC](https://www.ruby-forum.com/t/saving-traffic-gzip/188049 "2010-05-04T22:13:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gloomen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e8c25b/32.png) [@gloomen](https://www.ruby-forum.com/u/gloomen)\
**Post date:** [May 4, 2010, 10:13pm UTC](https://www.ruby-forum.com/t/saving-traffic-gzip/188049/1 "2010-05-04T22:13:16Z")

</div>

Hello all!

help me please…  
On the server, Nginx used GZIP, for a savings of traffic

```auto
    gzip on;
    gzip_comp_level 3;
    gzip_disable "MSIE [1-6]\.";
    gzip_types text/plain text/xml application/xml 
application/x-javascript text/javascript text/css application/json 
application/xml+rss;
    gzip_http_version 1.0;
```

Need to know how works effectively GZIP.

I usually use [HTTP Compression Test / WhatsMyIP.org](http://www.whatsmyip.org/http_compression/)  
Which shows:

```auto
Original Size: 70 KB
Gzipped Size: 23.5 KB
Data Savings: 66.43%
```

The problem is that my site works in a corporate network without going  
to internet…  
How could all still see this type of information: Original Size, Gzipped  
Size

Thanks!

Posted at Nginx Forum:

> **[Saving Traffic - GZIP](https://forum.nginx.org/read.php?2,82614,82614#msg-82614)**
>
> Hello all! help me please... On the server, Nginx used GZIP, for a savings of traffic \[code\] gzip on; gzip\_comp\_level 3; gzip\_disable "MSIE \[1-6\]\\."; gzip\_types text/plain text/xml application/xml application/

---

<div class="post-metadata">

**Author:** ![gloomen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e8c25b/32.png) [@gloomen](https://www.ruby-forum.com/u/gloomen)\
**Post date:** [May 4, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/saving-traffic-gzip/188049/2 "2010-05-04T23:55:06Z")

</div>

Easy - download the Firefox Web D.'s Add-on.

Go to Information → Document Size

Posted at Nginx Forum:

> **[Re: Saving Traffic - GZIP](https://forum.nginx.org/read.php?2,82614,82647#msg-82647)**
>
> Hello all! help me please... On the server, Nginx used GZIP, for a savings of traffic \[code\] gzip on; gzip\_comp\_level 3; gzip\_disable "MSIE \[1-6\]\\."; gzip\_types text/plain text/xml application/xml application/

---

<div class="post-metadata">

**Author:** ![gloomen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e8c25b/32.png) [@gloomen](https://www.ruby-forum.com/u/gloomen)\
**Post date:** [May 5, 2010, 12:09am UTC](https://www.ruby-forum.com/t/saving-traffic-gzip/188049/3 "2010-05-05T00:09:09Z")

</div>

## samihoda Wrote:

> Easy - download the Firefox Web D.'s  
> Add-on.
> 
> Go to Information → Document Size

Please give the reference…

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,82614,82653#msg-82653](http://forum.nginx.org/read.php?2,82614,82653#msg-82653)

---

<div class="post-metadata">

**Author:** ![gloomen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e8c25b/32.png) [@gloomen](https://www.ruby-forum.com/u/gloomen)\
**Post date:** [May 5, 2010, 10:40am UTC](https://www.ruby-forum.com/t/saving-traffic-gzip/188049/4 "2010-05-05T10:40:04Z")

</div>

I have the plugin for FF liked more -)  
Just can not find it …

Posted at Nginx Forum:

> **[Re: Saving Traffic - GZIP](https://forum.nginx.org/read.php?2,82614,82792#msg-82792)**
>
> Hello all! help me please... On the server, Nginx used GZIP, for a savings of traffic \[code\] gzip on; gzip\_comp\_level 3; gzip\_disable "MSIE \[1-6\]\\."; gzip\_types text/plain text/xml application/xml application/

---

<div class="post-metadata">

**Author:** ![gloomen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e8c25b/32.png) [@gloomen](https://www.ruby-forum.com/u/gloomen)\
**Post date:** [May 5, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/saving-traffic-gzip/188049/5 "2010-05-05T16:24:53Z")

</div>

> **[Web Developer – Get this Extension for 🦊 Firefox (en-US)](https://addons.mozilla.org/en-US/firefox/addon/web-developer/)**
>
> Download Web Developer for Firefox. The Web Developer extension adds various web developer tools to the browser.

Posted at Nginx Forum:

> **[Re: Saving Traffic - GZIP](https://forum.nginx.org/read.php?2,82614,82895#msg-82895)**
>
> Hello all! help me please... On the server, Nginx used GZIP, for a savings of traffic \[code\] gzip on; gzip\_comp\_level 3; gzip\_disable "MSIE \[1-6\]\\."; gzip\_types text/plain text/xml application/xml application/

---

<div class="post-metadata">

**Author:** ![gloomen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e8c25b/32.png) [@gloomen](https://www.ruby-forum.com/u/gloomen)\
**Post date:** [May 5, 2010, 12:11am UTC](https://www.ruby-forum.com/t/saving-traffic-gzip/188049/6 "2010-05-05T00:11:29Z")

</div>

[http://wiki.nginx.org/NginxHttpLogModule#access\_log](http://wiki.nginx.org/NginxHttpLogModule#access_log)

Try using $bytes\_sent in your logs.

–  
() ascii-rubanda kampajno - kontraÅ­ html-a retpoÅto  
/\ ascii ribbon campaign - against html e-mail
