# Streamed gzip VS buffered gzip

**URL:** <https://www.ruby-forum.com/t/streamed-gzip-vs-buffered-gzip/218074>\
**Category:** NGINX\
**Created:** [March 20, 2012, 2:19pm UTC](https://www.ruby-forum.com/t/streamed-gzip-vs-buffered-gzip/218074 "2012-03-20T14:19:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 20, 2012, 2:19pm UTC](https://www.ruby-forum.com/t/streamed-gzip-vs-buffered-gzip/218074/1 "2012-03-20T14:19:52Z")

</div>

My workmate just noticed that HTTP response of nginx gzip module is  
chunked, while Apache’s goes with Content-Length, seems to be  
buffered. How to force nginx do a buffered gzipped output, too?

–  
冷静认真，稳定运行；随时候命，宠辱不惊

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 20, 2012, 2:52pm UTC](https://www.ruby-forum.com/t/streamed-gzip-vs-buffered-gzip/218074/2 "2012-03-20T14:52:11Z")

</div>

Hello!

On Tue, Mar 20, 2012 at 09:19:29PM +0800, 晓磊任 wrote:

> My workmate just noticed that HTTP response of nginx gzip module is  
> chunked, while Apache’s goes with Content-Length, seems to be  
> buffered. How to force nginx do a buffered gzipped output, too?

It’s not currently possible.

Maxim D.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 20, 2012, 3:29pm UTC](https://www.ruby-forum.com/t/streamed-gzip-vs-buffered-gzip/218074/3 "2012-03-20T15:29:33Z")

</div>

Thank you for answering.

–  
冷静认真，稳定运行；随时候命，宠辱不惊
