Home 技术笔记 Chrome Chrome 检测网站是否...

Chrome 检测网站是否启用了http2协议

0

### 谷歌浏览器打开如下网址

chrome://net-internals/#http2

操作如下

  • 谷歌 Chrome 浏览器(高于 v41.0),按下 F12(或点击菜单启动“开发者工具”)
  • 点击 network 一栏
  • 刷新网页之后,在 protocol 一列中就能看到很多 h2(如下图所示),代表网页是通过 http2 协议传输的(如果你只看到 http/1.1 而没有 h2,说明未启用)。

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

退出移动版