Simple trick: if you're trying to use output buffering with PHP on nginx, and it should be working, but the whole response still comes down all at once to the client, try disabling gzip compression:
nginx.conf
gzip off;
That should do it! Sure, your "fast" pages might become a little slower, but your slow pages will appear to be loading instead of hanging.
(This works because, of course, nginx can't compress the output until it's all ready to go first!)
Tuesday, 12 March 2013
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment