What is HTTP/2 protocol?
What is HTTP/2 protocol?
First, let's look at what the HTTP protocol is. This is a data transfer protocol, which was originally intended for the transfer of hypertext.
HTTP/2 is an improved HTTP protocol, this is the new version.
Why the HTTP / 2 protocol was created?
Since HTTP was created a long time ago, in 1991, for this time of existence, it was only a few times subjected to global changes. The latest version of HTTP 1.1 was released in 1997, during this time this protocol was obsolete and in 2015, HTTP/2 was created. It improved the main three indicators - simplicity, high productivity and sustainability.
Should I enter it?
The download speed in HTTP/2 compared to HTTP 1.1 increased by 23%, according to HttpWatch experts. The new version of the protocol sends the content not in parts but immediately together, except that it already exists in the browser cache. As improvements, stream monitoring mechanisms, error handling and upgrade are used. They give more application stability and faster download speed.
Why does http 2 protocols better than the old one?
Modern sites, unlike old ones, use many elements that were transmitted over several connections in the old version of the HTTP protocol, which slowed the download speed. In HTTP/2, everything is sent through a single TCP connection, and there is no need to keep multiple TCP connections.
Added the ability to set the priority of sending data, user can tell the server which files to send first.
Added the ability to Push-send data from the server, in other words, the server sends the user only those data that he doesn’t have yet.