1
chaim May 20, 2017
可以看下 http2
|
2
hilyjiang May 20, 2017
支持的,不然 HTTP 头里的 Connection: Keep-alive 就没有意义了。
可以参考 Nginx 配置实现中的介绍: http://nginx.org/en/docs/http/ngx_http_ssl_module.html To reduce the processor load it is recommended to * set the number of worker processes equal to the number of processors, * enable keep-alive connections, * enable the shared session cache, * disable the built-in session cache, * and possibly increase the session lifetime (by default, 5 minutes) 第 2 点就是建议你开启长连接,减少处理器开销。 |
3
changwei May 20, 2017 via Android
我知道 websocket 可以用 ssl,wss,不知道算不算长链接
|
4
AnonymousAccout May 20, 2017 via iPhone 题外话:请原谅我这位强迫症患者
HTTPS 能不能做长连接吗?✘ HTTPS 能做长连接吗?✔ HTTPS 能不能做长连接?✔ |
5
hilyjiang May 20, 2017 via Android |
7
AnonymousAccout May 20, 2017 via iPhone
|
8
Williamp May 22, 2017
You should apply HTTP/2 for your website for the faster connection. Read more from here https://www.v2ex.com/t/350927#reply13
|