電訊茶室's Archiver

角色 發表於 2019-4-1 11:46

HTTP vs. HTTPS vs HTTP/2

[i=s] 本帖最後由 角色 於 2019-4-8 10:12 編輯 [/i]

从HTTP到HTTPS,现在进入HTTP2(HTTP/2), 不知道你是否知道他们之间的分别?

你想知道你的browser是否支持HTTP/2, 你点击下面链接就知道

[url]https://http2.akamai.com/demo[/url]

估计开始有不少的网站从HTTP/1.x转到HTTP/2。


References:
[1] [url]https://www.tunetheweb.com/blog/http-versus-https-versus-http2/[/url]
[2] [url]https://css-tricks.com/http2-real-world-performance-test-analysis/[/url]
[3] [url]https://medium.com/@jacobtan/understanding-http-2-and-its-caveats-1e8200519c4c[/url]
[4] [url]https://http2.akamai.com/[/url]
[5] [url]https://medium.com/@factoryhr/http-2-the-difference-between-http-1-1-benefits-and-how-to-use-it-38094fa0e95b[/url]

角色 發表於 2019-4-1 23:39

[i=s] 本帖最後由 角色 於 2019-4-1 23:52 編輯 [/i]

Location: mainland China
ISP: China Mobile
Google Cloud Platform, V2Ray vmess
Chrome: Version 73.0.3683.86 (Official Build) (64-bit)
HTTP/1.1, Latency: 12ms, Load time: 24.94s
HTTP/2, Latency: 12ms, Load time: 3.23s

角色 發表於 2019-4-1 23:46

Location: mainland China
ISP: China Mobile
Firefox: 60.6.1esr (64-bit)
HTTP/1.1, Latency: 46ms, Load time: 5.71s
HTTP/2, Latency: 49ms, Load time: 1.47s

角色 發表於 2019-4-2 00:11

Location: mainland China
ISP: China Mobile
搬瓦工 CN2, V2Ray vmess + ws + tls + web (Caddy)
Chrome: Version 73.0.3683.86 (Official Build) (64-bit)
HTTP/1.1, Latency: 0ms, Load time: 20.23s
HTTP/2, Latency: 0ms, Load time: 3.11s

角色 發表於 2019-4-5 07:26

[i=s] 本帖最後由 角色 於 2019-4-5 07:36 編輯 [/i]

Location: mainland China
ISP: China Mobile
HK PCCW, V2Ray vmess + h2 + tls
Chrome: Version 73.0.3683.86 (Official Build) (64-bit)
HTTP/1.1, Latency: 3ms, Load time: 5.64s
HTTP/2, Latency: 8ms, Load time: 3.29s

上面数据很明显,用了h2, 在传送HTTP/1.1的信息快乐很多。

角色 發表於 2019-4-7 20:04

自从用了HTTP/2看网页真的比以前快很多!现在再加上TLS的data保护后就用的更加放心。

slemon 發表於 2019-4-7 22:09

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=46683&ptid=7407]6#[/url] [i]角色[/i] [/b]
師兄,感覺H2真係快咗,多謝信息 XD

角色 發表於 2019-4-7 22:35

[quote]回復  角色
師兄,感覺H2真係快咗,多謝信息 XD
[size=2][color=#999999]slemon 發表於 2019-4-7 22:09[/color] [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=46684&ptid=7407][img]http://www.telecom-cafe.com/forum/images/common/back.gif[/img][/url][/size][/quote]

你也改用了吗?是否有跟我同样的感受?就是看网页时图片很快弹出来、很快load完!!!(比以前看网页快!!!)

slemon 發表於 2019-4-7 22:41

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=46685&ptid=7407]8#[/url] [i]角色[/i] [/b]
是呀,load 網頁快了。另外,今晚比較PxxW和HKxB下載,還是HKxB快多。

角色 發表於 2019-4-7 22:45

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=46686&ptid=7407]9#[/url] [i]slemon[/i] [/b]

你load一下下面的link,然后你看到的信息是多少?多一些比较,谢谢!

[url]https://http2.akamai.com/demo[/url]

slemon 發表於 2019-4-7 23:12

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=46687&ptid=7407]10#[/url] [i]角色[/i] [/b]
H1.1 :3ms, 6.67s
HA :8ms,  1.72s

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.