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

HTTP2 Tutorial - The Past and Present of HTTP2

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

HTTP was originally proposed by Timberners-Lee, a pioneer of the World Wide Web, who designed the application protocol with simplicity in mind to perform advanced data communication functions between web servers and clients. The first docum

HTTP2 Tutorial - HTTP2 Functional Upgrade

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

Before we officially introduce the functions of HTTP/2, let's take a detour to understand the past and present of HTTP/2 . Multiplexing Streams The bidirectional sequence of text-formatted frames sent via the HTTP/2 protocol exchanged betwe

HTTP2 Tutorial - How to use HTTP/2 with HTTPS

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

HTTPS is used to build ultra-secure networks connecting computers, machines, and servers to handle sensitive business and consumer information. HTTP/2 browser support includes HTTPS encryption, which actually complements the overall securit

HTTP2 Tutorial - How to Configure HTTP2 with Nginx

Publish Date:2025/03/17 Views:195 Category:NETWORK

HTTP2 was officially released in 2015. If your website is still using HTTP/1.1, you may be out of date. Don't worry, here we will see how to use Nginx to upgrade your website to HTTP2. Install Nginx I feel that this column is redundant. Sin

HTTP2 教程——如何使用Nginx 配置 HTTP2

Publish Date:2021/08/06 Views:1960 Category:网络

HTTP2 在 2015年就已经正式发布了,现在如果网站还在使用HTTP/1.1 是不是就有点赶不上潮流了。这里我们就来看一下如何使用Nginx将网站升级为HTTP2。

HTTP2 教程——HTTP/2 如何与 HTTPS 配合使用

Publish Date:2021/08/06 Views:475 Category:网络

HTTPS 用于建立连接计算机、机器和服务器的超安全网络,以处理敏感的商业和消费者信息。HTTP/2 本质上需要最新、最安全的 TLS 版本,所有在线社区、企业主和网站管理员必须确保他们

HTTP2 教程——HTTP2的功能升级

Publish Date:2021/08/06 Views:401 Category:网络

HTTP2进行了功能上的升级,主要包括复用流:通过服务器和客户机之间交换的HTTP/2协议发送的文本格式帧的双向序列称为“流”。二进制分帧层,数据流优先级,服务器推送,标头压缩。

HTTP2 教程——HTTP1.1的不足

Publish Date:2021/08/05 Views:275 Category:网络

HTTP1.1被限制为每个TCP连接只处理一个未完成的请求,迫使浏览器使用多个TCP连接来同时处理多个请求。

HTTP2 教程——HTTP2的前世今生

Publish Date:2021/08/05 Views:296 Category:网络

HTTP最初是由timberners-Lee提出的,他是万维网的先驱,设计应用程序协议时考虑到了简单性,以便在Web服务器和客户机之间执行高级数据通信功能。HTTP/2与HTTP1的讨论必须从这篇资源中经常

Scan to Read All Tech Tutorials

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

Recommended

Tags

Scan the Code
Easier Access Tutorial