[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    buffering response wrt backend only
From:       Cooper Bethea <coops () foursquare ! com>
Date:       2012-07-26 2:12:33
Message-ID: CAAHtSUPXxbL6J8xAsABP_Cmi73N8_5_gjojVt8-4NARE7kCASA () mail ! gmail ! com
[Download RAW message or body]

Hi everybody-

I am using nginx to proxy requests to a backend HTTP server with
slightly unusual behavior--it attempts to push out the <head></head>
portion of a HTTP response as quickly as possible so that the browser
can start building the page, then sends the rest of the response when
computed by the backend. I would like to likewise push this data back
from nginx to the client as quickly as possible, but still have nginx
buffer the response, so that backends do not have to hold open
connections for a long time when the client is slow to receive.

From reading the wiki I think this behavior seems to be in-between
"proxy_buffering on" (buffers entire response) and "proxy_buffering
off" (does not buffer.) Is it possible to configure nginx to act this
way?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic