proxy_buffering off disable cache ?
Nelson Marcos
nelsonmarcos at gmail.com
Sat Mar 18 00:26:50 UTC 2017
Thanks \o/
Um abraço,
NM
2017-03-17 14:46 GMT-03:00 Maxim Dounin <mdounin at mdounin.ru>:
> Hello!
>
> On Fri, Mar 17, 2017 at 02:21:55PM -0300, Nelson Marcos wrote:
>
> > Hello all,
> >
> > Right now we're using Nginx(as a proxy) to serve videos(4gb) and small
> > objects(< 100k), using Openstack Swift as backend.
> >
> > Yesterday, I tried turn proxy_buffering off to see if it would improve
> > nginx performance but it didn't.
> >
> > However, I realised that nginx stoped to write new files on
> proxy_temp_path
> > and proxy_cache_path until I turn proxy_buffering off.
> >
> >
> > I have two question:
> >
> > 1) Is that a expected behaviour? If I turn proxy_buffering off, nginx
> will
> > disable cache and temp files?
>
> Yes.
>
> > 2) If proxy_buffering is on, shouldn't nginx recieve the entire
> response,
> > before send it to the cliente? Or does it wait only enough to fill the
> > configured buffers?
>
> No, it only waits for one buffer to be filled.
>
> --
> Maxim Dounin
> http://nginx.org/
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170317/da298190/attachment-0001.html>
More information about the nginx
mailing list