HTTP/2 has been finalised, according to Mark Nottingham, chair the IETF HTTP Working Group and am a member of the W3C TAG. In a blog post today simply entitled 'HTTP/2 is Done', Nottingham said that the IESG has formally approved the HTTP/2 and HPACK specifications. Now the standard is going to go through some editorial tweaks before publishing.
The new version of the Hypertext Transfer Protocol is a "huge deal," reports The Next Web. It is the first major revamp of the protocol since 1999 when HTTP/1.1 was adopted. As such it will bring the protocol up to speed with several new web technologies and provide benefits as faster page loads, hold connections longer and help servers push data to your cache. According to the HTTP/2 homepage on Github "the focus of the protocol is on performance; specifically, end-user perceived latency, network and server resource usage. One major goal is to allow the use of a single connection from browsers to a Web site."
The key high level differences that HTTP/2 possesses compared to HTTP/1.X are as follows:
- HTTP/2 is binary, instead of textual
- It is fully multiplexed, instead of ordered and blocking
- It can therefore use one connection for parallelism
- It uses header compression to reduce overhead
- It allows servers to 'push' responses proactively into client caches
HTTP/2's multiplexing goes further than HTTP/1.1's parallelism to fix a problem called 'head of line blocking' where only one request can be outstanding on a connection at a time. The new protocol implements far fewer concurrent connections. Previously a single web page with multiple origins could easily open 30 or so data connections, causing problems such as buffer overflow, congestion and monopolising your network – effectively stealing resources from other internet services/apps. The implementation of header compression will also improve your browsing experience greatly, especially on mobiles, according to the HTTP/2 FAQ.
on the blog: HTTP/2 is Done http://t.co/gRFACDC5xr— Mark Nottingham (@mnot) February 18, 2015
Only a few days back Google announced that it plans to fully switch to HTTP/2 in Chrome. Google's SPDY/2 was the basis of HTTP/2 and its core developers were involved in HTTP/2. TNW reports that developers can already test out the new protocol in both Chrome and Firefox. For more information please refer to the HTTP/2 FAQ.