<div dir="ltr">in php.ini you set<br>output_buffering = Off<div class="">zlib.output_compression = Off</div><br>in nginx.conf<br>gzip off;proxy_buffering off;<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jul 3, 2013 at 9:03 AM, Huan Nguyen <span dir="ltr"><<a href="mailto:huanh@me.com" target="_blank">huanh@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi all,<div><br></div><div>I'm try to improve our webpage start render time by flushing the cache buffer early. Our stack is Nginx, PHP-FPM. But nginx + fastcgi module doesn't allow me to flush as I wanted. It seems that nginx will keep all caches and flush all at once. I saw a few solutions whereas to set max tmp file size to 0 and smaller buffer size (1K for example) which I'm afraid it is not suitable for our case. It seems not reliable for our high scalable site.</div>
<div><br></div><div><div><a href="http://stackoverflow.com/questions/4870697/php-flush-that-works-even-in-nginx" target="_blank">This</a> and <a href="http://forum.nginx.org/read.php?2,228538" target="_blank">this nginx post</a> articulate the same problem.</div>
<div><br></div><div>I really appreciate if you can help explain a little bit on how fastcgi, nginx cache and php's cache work together. and if possible a hint on how to overcome this.</div></div><div><br></div><div>I'm looking forward to hearing from you</div>
<div><br></div><div>Thank you</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Huan</div></font></span></div><br>_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br></blockquote></div><br></div>