Mod_proxy, compression, and chunked responses

I have an application server behind nginx that may output chunked
responses, and would like to use compression for them as I do for
ordinary responses.

Is that possible with nginx? If it is, is it possible in a way that
nginx compresses stuff on the fly and sends chunked (compressed)
responses itself rather than buffering the original response and
sending a non-chunked response itself? (That would defeat the purpose
of the chunked responses.)

On Mon, May 30, 2011 at 9:33 PM, Xavier N. [email protected] wrote:

I have an application server behind nginx that may output chunked
responses, and would like to use compression for them as I do for
ordinary responses.

Is that possible with nginx? If it is, is it possible in a way that
nginx compresses stuff on the fly and sends chunked (compressed)
responses itself rather than buffering the original response and
sending a non-chunked response itself? (That would defeat the purpose
of the chunked responses.)

It does not seem to work. It compresses the payload of the application
server.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs