# Buffering response wrt backend only

**URL:** <https://www.ruby-forum.com/t/buffering-response-wrt-backend-only/221688>\
**Category:** NGINX\
**Created:** [July 26, 2012, 4:13am UTC](https://www.ruby-forum.com/t/buffering-response-wrt-backend-only/221688 "2012-07-26T04:13:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [July 26, 2012, 4:13am UTC](https://www.ruby-forum.com/t/buffering-response-wrt-backend-only/221688/1 "2012-07-26T04:13:16Z")

</div>

Hi everybody-

I am using nginx to proxy requests to a backend HTTP server with  
slightly unusual behavior–it attempts to push out the   
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?
