HTTP/2 (protocol)

botond published 2023/03/14, k - 00:11 time

Content

 

Overview

HTTP/2 (HyperText Transfer Protocol / 2) a protocol that is an improved version of the HTTP/1.1 protocol released by the HTTP Working Group in 2015. HTTP/2 is supported by most modern browsers and allows web pages to load faster than previous versions.

HTTP/2 introduced the following innovations compared to previous versions:

  • Binary format: HTTP/2 uses the binary protocol to transfer data, while previous versions used a text format. This innovation reduces the size of the protocol header, improves speed and reduces network load.
  • Multiple parallel transfers: HTTP/2 allows multiple parallel transfers within a single TCP connection, thereby improving page loading speed.
  • Streams and priorities: HTTP/2 allows data to be forwarded to several different streams, each of which has an individually configurable priority. This allows pages to load faster and more efficiently.
  • Server push: HTTP/2 allows the server to send the client content that it will need to process the request before the client makes the request. This innovation reduces the loading time of the pages, since the server can already send the data that the client will need.
  • Enforce SSL/TLS: HTTP/2 makes it mandatory SSL / TLS use, which makes data transmission more secure.

HTTP/2 is therefore a much more advanced and efficient protocol than previous versions, and significantly improves the loading speed and efficiency of web pages.