Fastcgi_max_temp_file_size 0 vs fastcgi_buffering off

Is fastcgi_max_temp_file_size 0; and fastcgi_buffering off; the same ?

If no what is the difference between those two

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

Hello!

On Tue, Aug 25, 2015 at 09:44:49AM -0400, khav wrote:

Is fastcgi_max_temp_file_size 0; and fastcgi_buffering off; the same ?

No.

If no what is the difference between those two

The first one switches off buffering to disk.

The second one switches fastcgi module to the unbuffered mode. In
this mode all data read will be immediately delivered to a client.

See http://nginx.org/r/fastcgi_buffering for details.


Maxim D.
http://nginx.org/

For video streaming which option will be the best according to you

I currently use fastcgi_max_temp_file_size 0

fastcgi_connect_timeout 60;

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261232,261235#msg-261235

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs