5 messages in ru.sysoev.nginxStreaming responses to the client
FromSent OnAttachments
Paul DlugApr 19, 2007 10:21 pm 
Aleksandar LazicApr 20, 2007 12:21 am 
Igor SysoevApr 20, 2007 2:34 am 
Paul DlugApr 20, 2007 6:14 am 
Igor SysoevApr 20, 2007 6:27 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Streaming responses to the clientActions...
From:Paul Dlug (paul@public.gmane.org)
Date:Apr 19, 2007 10:21:08 pm
List:ru.sysoev.nginx

Perhaps there's an obvious answer to this question but it doesn't seem to be documented anywhere...

I have nginx running as a reverse proxy for a web application serving several large pages. Without nginx the page incrementally loads in the browser (streaming response) so the user is able to view it as it loads. Behind nginx the it hesitates and loads in one chunk. This indicates that nginx is reading the response from the backend and then serving it rather than streaming it to the client as it loads.

Is there anyway to get nginx to stream responses? To compare, Perlbal has this behavior implemented and the difference in the perceived speed when a large page loads is significant. If nginx can stream responses I assume it would be possible to turn off buffering to a file completely.

Thanks,