1
chaim 2017 年 5 月 20 日
可以看下 http2
|
2
hilyjiang 2017 年 5 月 20 日
支持的,不然 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 2017 年 5 月 20 日 via Android
我知道 websocket 可以用 ssl,wss,不知道算不算长链接
|
4
AnonymousAccout 2017 年 5 月 20 日 via iPhone 题外话:请原谅我这位强迫症患者
HTTPS 能不能做长连接吗?✘ HTTPS 能做长连接吗?✔ HTTPS 能不能做长连接?✔ |
5
hilyjiang 2017 年 5 月 20 日 via Android |
7
AnonymousAccout 2017 年 5 月 20 日 via iPhone
|
8
Williamp 2017 年 5 月 22 日
You should apply HTTP/2 for your website for the faster connection. Read more from here https://www.v2ex.com/t/350927#reply13
|