JIYIK CN >

Current Location:Home > Learning > NETWORK >

HTTP2 Tutorial - The shortcomings of HTTP1.1

Author:JIYIK Last Updated:2025/03/16 Views:

HTTP 1.1 is limited to handling only one outstanding request per TCP connection, forcing browsers to use multiple TCP connections to handle multiple requests simultaneously.

However, using too many TCP connections in parallel can cause TCP congestion, creating an unfair monopoly of network resources. Web browsers that use multiple connections to handle additional requests take up more of the available network resources, thus reducing network performance for other users.

HTTP Request

Making multiple requests from the browser also results in duplication of data on the data transmission wire, which in turn requires additional protocols to extract the required information without errors at the end node.

The Internet industry was naturally forced to crack these limitations with practices such as domain sharding, joins, data inlining, and springs. The inefficient use of the underlying TCP connection in HTTP 1.1 also led to low resource priority, causing web applications to degrade exponentially in terms of complexity, functionality, and scope.

http2 domain sharding

The web has evolved far beyond the capabilities of traditional HTTP-based network technologies. The core features of HTTP 1.1, developed more than a decade ago, opened the door to some embarrassing performance and security vulnerabilities.

For example, cookie hacking allowed cybercriminals to reuse previously working sessions to leak account passwords because HTTP 1.1 does not provide session endpoint identification capabilities. While similar security issues will continue to plague HTTP/2, the new application protocol has been designed with better security features, such as improved implementation of new TLS features.

For reprinting, please send an email to 1244347461@qq.com for approval. After obtaining the author's consent, kindly include the source as a link.

Article URL:

Related Articles

PHP+ajax to achieve cross-domain single sign-on

Publish Date:2025/03/16 Views:145 Category:NETWORK

We have previously introduced the principle of cross-domain single sign-on in "Detailed explanation of the implementation methods of three situations of SSO single sign-on" . Here we will introduce how to implement single sign-on using PHP

WeChat public account development tutorial to obtain access_token

Publish Date:2025/03/16 Views:65 Category:NETWORK

During the development of WeChat official accounts, if we want to actively push messages to the WeChat server, we must have access_token. Access_token is the only ticket for the official account. When we develop and call various WeChat inte

WeChat public account receiving message event message processing

Publish Date:2025/03/16 Views:79 Category:NETWORK

As we know, there are two types of messages generated by the interaction between WeChat users and public accounts: one is ordinary messages, which are introduced in detail in the article "Ordinary message processing for WeChat public accoun

IE's Ajax cross-domain issue

Publish Date:2025/03/16 Views:190 Category:NETWORK

Ajax is widely used in web systems, but cross-domain issues are often encountered in web systems. By default, browsers prohibit Ajax cross-domain access. The IE browser has particularly strict restrictions. For browsers such as Firefox, Goo

How to redirect a website from HTTP to HTTPS

Publish Date:2025/03/16 Views:117 Category:NETWORK

HTTPS is a protocol for secure communication over computer networks and is widely used on the Internet. More and more website owners are migrating from HTTP to HTTPS, mainly due to the following 5 reasons: Google announced that websites usi

How to Fix the “SSL Handshake Failed” Error (5 Methods)

Publish Date:2025/03/16 Views:95 Category:NETWORK

Installing a Secure Sockets Layer (SSL) certificate on your WordPress site enables it to use HTTPS for a secure connection. Unfortunately, there are a lot of things that can go wrong in the process of verifying a valid SSL certificate and e

10 Ways to Fix NET::ERR_CERT_DATE_INVALID Error

Publish Date:2025/03/16 Views:134 Category:NETWORK

Having an SSL certificate gives people more peace of mind when using your website. When the NET::ERR_CERT_DATE_INVALID error indicates a problem with the certificate, it blocks visitors from accessing your website until the problem is fixed

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Recommended

Tags

Scan the Code
Easier Access Tutorial