[开发者] 连接类型检测工具 支持对HTTP/2和SPDY等
第二版的超文本传输协议HTTP/2发布已经有些时日了,目前越来越多的网站也都在向HTTP/2连接上迁移。
互联网工程任务组(IETF)在1999年发布HTTP/1后这个协议就没再更新过了,直到近年来HTTP/2的发布。
与HTTP/1相比新版本协议的改进之处包括更快的页面加载速度、更长的连接、提高性能并减少HTTPS加密连接的开销等等。
对于开发者而言HTTPS已经是必选的内容了,而使用HTTP/2则可以有效的降低HTTPS连接带来的各种问题。
如果你正准备在未来一段时间将自己的连接从HTTP/1迁移到HTTP/2上,那么本文介绍的插件或许可以帮你。
这个名为HTTP/2和SPDY指示器的插件可以在Chrome WebStore上下载并安装,当网络连接使用的协议是HTTP/2、SPDY和QUIC时则其图标会变成蓝色。
在该插件的面板中可以查看当前所有的HTTP/2连接以及连接时使用的端口,在侧边你还可以选择QUIC以及HSTS等其他类型的协议。
这个小插件目前也不在不断的更新并增添新版本的各种协议,对于开发者来说可能可以更方便的对连接进行测试。
有兴趣的开发者可以前往Chrome Web Store进行下载:HTTP/2、SPDY指示器
插件介绍及近期日志:
HTTP/2 (based on Google's SPDY) makes the information exchange between browser and server significantly more performant. Websites and applications that upgrade their infrastructure to support them are at a clear advantage.
This extension shows a lightning icon in the address bar that's blue if the page is HTTP/2 enabled, green if the page is SPDY enabled, and gray if neither is available.
Currently it leverages the browser API for determining this, which relies on the protocol used for the initial page request.
**NEW in 1.0.0: support for latest Chrome, performance improvements, better icons!**
**NEW in 0.7.1: title and description improvements"**
**NEW in 0.7.0: added SPDY/5a1 support"**
**NEW in 0.6.0: added HTTP/2 icon [MATSUU Takuto]"**
**NEW in 0.5.0: added SPDY3.1 icon [MATSUU Takuto]"**
**NEW in 0.4.0: fix SPDY2 icon and added QUIC! [MATSUU Takuto]"**
**NEW in 0.3.0: version numbers for SPDY 2 and 3 in the icon [MATSUU Takuto]**
**NEW in 0.2.0: option to disable gray icon when SPDY is not enabled**