[edit] tcp_nopush

Syntax: tcp_nopush on | off
Default: off
Context: http
server
location
Reference: tcp_nopush


This directive permits or forbids the use of the socket options TCP_NOPUSH on FreeBSD or TCP_CORK on Linux. This option is only available when using sendfile.

Setting this option causes nginx to attempt to send it's HTTP response headers in one packet on Linux and FreeBSD 4.x

You can read more about the TCP_NOPUSH and TCP_CORK socket options here.


Module: HttpCoreModule