What You Need to Know About HTTP / 2 (WEB 2.0)

When you look at the address bar, you can see that your internet browser is writing HTTP in front of all internet connections. We can call it HTTP, which is the Hypertext Transfer Protocol (Hyper-text transfer protocol), which we use to get information from the server and display web pages on the screen. The organization responsible for the creation of Internet protocol standards has prepared a new version of the secure and ubiquitous HTTP protocol used by The Internet Engineering Task Froce (IETF). HTTP / 1.1, which has been in use since 1999, is now ready to be replaced by HTTP / 2. Thanks to HTTP / 2, faster transfer and communication started to be provided between the internet browser and the server.
WHY IS HTTP / 2 IMPORTANT?
Their websites include standard HTML components with many different designs, design elements (CSS), client-side codes (Javascript), images, video and animations. Different links are created by the browser to transfer this information. There are also communication packages or protocols for each source, destination and content. These contents are a big burden both for the server and the browser.
As all these links, content, and elements are added to the site, slowdowns are observed and more processing power is required. While everyone wants to connect to the internet with a fast connection without delay, these delays are not required by the user. Especially for companies that provide online services, the long loading times of the websites negatively affect the user experience and this causes direct financial losses.
Since people started to use the internet, we have been constantly trying to speed it up. Some communities; Instead of creating a continuous connection, they create caches locally to users and develop ways to quickly access the content. In addition, minor techniques have been developed that reduce the resolution of image and video content. By optimizing the code by the developer, it was tried to create solutions for fast connection again. All of these options were very useful for quick connections.

Google has significantly overhauled HTTP 1/1 and created SPDY. The result was impressive, and results were faster than HTTP 1/1 between a browser using SPDY and the server, even when encryption was applied in communication. At least with SPDY, speed increases of 10-40 percent were achieved in different situations. Google engineers who created SPDY in 2012 succeeded in creating a new protocol-based technology and drafted HTTP / 2.
What is the Protocol?
For the protocol, we can say a collection of rules that determine how information is transferred from one computer to another. Each protocol can have different features. Usually it has a header, data to be carried (Payload) and a footer (Footer). The title contains the source, destination addresses, and some information of the data to be moved. Data (Payload) contains real information to be transferred. The footer holds content to catch any errors that may occur.
Why is HTTP / 2 better than others?
Introducing HTTP / 2 in a few words makes web pages load faster and avoids wasting time for all users. In many tests, there is a 20% increase in transfer speed, and this number increases by 30% in more optimized web servers.
A sample page load speed for HTTP
A sample page load speed for HTTP / 2

HTTP / 2 creates a constant connection between the server and the browser, resulting in increased speed. It also transfers data as a binary (2 system) and sends content in a natural language that computers can understand. In this way, it also prevents your computer from spending extra time to understand. As another feature, it offers features that multiplexing, compression (server push) and positive contribution to speed with server push.
Also, I recommend you to take a look at the demo to better understand the speed difference between HTTP / 1.1 and HTTP / 2.
Demo: https://http2.akamai.com/demo
Encryption in HTTP / 2
HTTP / 1.1 enables encryption as HTTPS using TLS / SSL. Although HTTP / 2 does not require encryption in its standard, it has been made mandatory by browsers and encryption over TLS has become mandatory. When HTTP / 2 becomes widespread, a safer internet will be with us.

How can we use HTTP / 2?
This feature must be provided by the server and the internet browser to provide a connection to the HTTP / 2 standards.

By the server:

Nginx> = 1.9.5

Apache> = 2.4.12

Microsoft ISS (Windows 10, Windows Server 2016)

By browser:

Internet Explorer> = 11

Microsoft Edge> = 13

Firefox> = 46

Chrome> = 45

Safari> = 9.1 (Not fully supported)

Opera> = 38

Chrome for Android> = 51

Standard Browser for Android> = 5.6x

Opera Mini Not Supported

Comments

Popular posts from this blog

How to delete swarm account?

What is Paper Chromatography and Electrophoresis?

3 Beyond the Dimension: Exploring Other Dimensions in a Nano Scale