HTTP/2 has been a standard since 2015 and is supported by virtually all browsers today. It is the successor to HTTP/1.1, established in the 1990s, the transmission protocol (Hypertext Transfer Protocol) for content on the web. Its own successor is HTTP/3, based on QUIC and standardised in 2022.
The biggest advantage of HTTP/2 is clearly the increase in speed when loading web content. In the past, multiple connections between the server and client had to be opened, but with HTTP/2, all data can be transmitted over a single connection. Additionally, resources (images, JavaScript, CSS files) could only be transmitted one at a time in the past, often holding up the rendering of the entire page. This limitation is also eliminated in HTTP/2 through what is known as multiplexing. Chrome has since removed the former push feature, which let the server send CSS and JavaScript files without being asked.
However, browsers only use HTTP/2 over HTTPS. In theory the protocol also allows unencrypted connections, but common browsers such as Google Chrome, Mozilla Firefox and Opera do not support this. Without HTTPS, browsers fall back to HTTP/1.1 and lose the benefits of HTTP/2.
If your website has not been switched over yet, a secure connection brings several benefits:
- More security between you and your customers and more trust on form and checkout pages
- HTTPS as a lightweight ranking signal
- Faster delivery with HTTP/2