Welcome! Log In Create A New Profile

Advanced

Enable streaming proxy responses and nginx proxy caching at the same time?

Posted by archon810 
Hi,

I'm using nginx for microcaching in front of apache, which really helps
during busy days. But I've also really wanted to have responses from apache
streamed. The only way to do that that I figured out so far is
proxy_buffering off, but that disables any proxy caching.

Is it possible to achieve this? I don't understand why nginx can't both
cache the response and stream it at the same time.

Thank you.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271834,271834#msg-271834

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
I was able to work around this for my purposes by leaving proxy_buffering
enabled and turning it off only for some locations, but it feels like a
dirty hack.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271834,271835#msg-271835

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login