Progressive flushing fastcgi cache early

quang nguyen quanglens at gmail.com
Wed Jul 3 05:20:25 UTC 2013


in php.ini you set
output_buffering = Off
zlib.output_compression = Off

in nginx.conf
gzip off;proxy_buffering off;


On Wed, Jul 3, 2013 at 9:03 AM, Huan Nguyen <huanh at me.com> wrote:

> Hi all,
>
> 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.
>
> This<http://stackoverflow.com/questions/4870697/php-flush-that-works-even-in-nginx>
>  and this nginx post <http://forum.nginx.org/read.php?2,228538> articulate
> the same problem.
>
> 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.
>
> I'm looking forward to hearing from you
>
> Thank you
>
> Huan
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130703/d9918762/attachment.html>


More information about the nginx-devel mailing list