HTTP/2 Increases Performance
HTTP/2 is a major revision of the HTTP network protocol. HTTP/2 improves on HTTP in speed and latency. It accomplishes this with multiple changes.
- Receiving and sending multiple responses on the same connection. HTTP uses a separate connection for each request. This reduces the overhead required for establishing new connections.
- Sending page content and assets concurrently. The server can send assets to the browser in a single response. For example, the pages images and JavaScript can be sent all at once allowing the browser to render the page immediately.
- Compressing the HTTP headers.
HTTP/2 has been supported in major browsers since 2015 but it must be configured on the server before it is enabled.