What is HTTP protocol?

What Does HTTP protocol Mean

A protocol is a set of norms and rules that are applied to guide an action or a process. If we focus on the field of computing , the notion is linked to the guidelines that are used to establish a communication process between various computers or systems.

HTTP , meanwhile, is an acronym from the English expression Hypertext Transfer Protocol : ie Protocol HyperText Transfer . It is the communication protocol used to transfer information over the World Wide Web .
Before explaining in detail what the HTTP protocol refers to , it is important to remember the structure proposed by the open systems interconnection model, known as the OSI model . This model recognizes eight layers in networks : the lowest is the physical layer , while the highest is the application layer .

The HTTP protocol acts precisely at the application level . Its function is to define the semantics and syntax used by computer programs to communicate on the Web (the computer network formed by the interconnection of hypertext documents, which can be accessed through the Internet).
It can be said that the HTTP protocol indicates how browsers ( software ) should communicate with the servers ( computers or computers ) that host the information. What the user does is enter the website address in the browser and the latter, after completing various steps, requests the resources from the server to finally display the data (texts, videos, images, etc.) on the screen.
Speed ​​and security in data transfer are becoming increasingly important, both for Internet service providers and users of all kinds. In 2015, the HTTP / 2 protocol emerged, a new version that promised a significant increase in these aspects, among other advantages.
It is important to mention that its adoption by the sites was not immediate, despite the fact that among the improvements was a more effective positioning (that is, it makes the sites more visible in the search results). In fact, the semantics do not change with respect to the previous version (the HTTP 1.1 protocol), that is to say that its status codes and its headers, among other things, remain intact. The main difference is in the way the information is transferred.
Below we will see some of the advantages that the HTTP / 2 protocol has over 1.1 in terms of search engine optimization, thanks to which loading times are considerably reduced:

* It is a protocol it is binary : the previous version was textual , and this made the processes more complicated because it required the translation to binary. Furthermore, transfer errors were more frequent;
* multiplexing : while with the HTTP 1.1 protocol the client had to send a request to the server and wait for the response before being able to send the next one, version 2 multiplexing allows the sending of more than one file simultaneously (the amount exceeds The six);
* headers are compressed with HPACK : this compression increases speed and efficiency because it eliminates certain fields that have been duplicated;
* server push : the server has the possibility to send more than one response even if the user has not yet requested them, on the condition that neither the protocol nor the host for the URLs change;
* ALPN extension : in the initial connection, both the client and the server can use the protocol they want, safely in any case. If the browser does not support HTTP / 2, then the resources will be served in the older version.

Go up