From 5142e91ecf5ab1b8530af60e15ef646d211b3722 Mon Sep 17 00:00:00 2001 From: AD7six Date: Mon, 28 Jul 2014 13:52:39 +0000 Subject: [PATCH] Remove tcp_nodelay The Nagle buffering algorithm is apparently that the best thing to enable by default. closes #28 --- nginx.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nginx.conf b/nginx.conf index 6409e34..1792f8b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -63,11 +63,6 @@ http { # since TCP frames are filled up before being sent out. (adds TCP_CORK) tcp_nopush on; - # Tell Nginx to enable the Nagle buffering algorithm for TCP packets, which - # collates several smaller packets together into one larger packet, thus saving - # bandwidth at the cost of a nearly imperceptible increase to latency. (removes TCP_NODELAY) - tcp_nodelay off; - # Compression