keepalive_timeout timeout causes high TTFB

Valentin V. Bartenev vbart at nginx.com
Fri Jul 24 14:30:08 UTC 2015


On Friday 24 July 2015 09:40:40 khav wrote:
> I am trying to further optimize SSL but if i enable keepalive_timeout i get
> high TTFB as shown in the report below
> 
> http://tools.pingdom.com/fpt/#!/KggzF
> 
> When i disable keepalive_timeout  , TTFB is fixed but nginx recommand
> keepalive_timeout :
> http://nginx.org/en/docs/http/configuring_https_servers.html
> 
> Why does this happen ?
[..]

In the report above SPDY protocol was used, but the keepalive_timeout
directive configures a timeout for https keepalive connections, and
has no effect with SPDY.

I believe it was just a coincidence, and big TTFB caused by something
else.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list