L81
keepalive 描述 多个http请求可以复用Tcp链接
- 减少握手次数
- 通过减少并发连接数减少服务器资源消耗
- 降低Tcp拥塞控制影响
Syntax: | keepalive_disable |
---|---|
Default: |
keepalive_disable msie6; |
Context: |
http , server , location
|
Syntax: |
|
---|---|
Default: |
keepalive_timeout 75s; |
Context: |
http , server , location
|
Syntax: | keepalive_requests |
---|---|
Default: |
keepalive_requests 100; |
Context: |
http , server , location
|
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:Nginx http keepalive提升链接效率 - Python技术站