What is HTTP/2? (original) (raw)

Last Updated : 23 Jul, 2025

HTTP/2 is the new version of HTTP, which transfers data over the Web. HTTP/2 is important for transmitting data from client to server over the web. Over time, various developments were made to enhance web protocols' efficiency, performance, and safety. HTTP/2 provides various features to transmit data over the internet or web. In this article, we were going to discuss HTTP/2.

What is HTTP?

HTTP stands for Hypertext Transfer Protocol, it is a protocol through which hypertext is transferred over the web. Hypertext Transfer Protocol was invented by Tim Berner in 1989. The World Wide Web allows people to share data like text, photos, and multimedia files. When a user opens their web browser, they indirectly use HTTP.

Problems in HTTP

What is HTTP/2?

HTTP/2 was developed in 2015 as a new version of HTTP. HTTP/2 addresses various issues of HTTP and Head of Line Blocking issues. HTTP/2 is faster and more efficient than HTTP. One of the ways HTTP/2 improves performance is by prioritizing data throughout the loading process. HTTP/2 decreases performance limitations while maintaining compatibility with existing applications. HTTP/2 improves network resources and reduces latency by reducing header fields.

History of HTTP/2

HTTP/2 is the most recent HTTP protocol, introduced in May 2015. It is supported by many browsers like Chrome, Internet Explorer 11, Safari, and Firefox. Note that HTTP/2 is not known as HTTP/2.0 since the IETF (Internet Engineering Task Force) considers HTTPP/2 to be an advanced protocol that does not require future sub-versions. If major changes are required in the future, they will be published using HTTP/3. HTTP/2 not only improves performance, but it is also compatible with the HTTP/1.1 structure, which has similar features to the SPDY protocol.

Features of HTTP/2

HTTP/2

HTTP/2

Advantages of HTTP/2

Disadvantages of HTTP/2

Differences Between HTTP/2 and HTTP

HTTP/2 HTTP
HTTP/2 works on Binary Protocol. HTTP works on Textual Protocol.
HTTP/2 headers are compressed which leads to low Overheating. HTTP leads to high Overheading because headers are sent as plain text.
HTTP/2 supports Multiplexing. HTTP does not support Multiplexing.
HTTP/2 uses ALPN extension which allows faster encrypted connection. HTTP allows slower encrypted connections.
HTTP/2 support Servers Push. HTTP does not support Server Push.
HTTP/2 provides stream prioritization which ensures that the critical resources are delivered first. There is no built-in support for stream prioritization.
HTTP/2 performance is better than HTTP. The performance of HTTP is low as compared to HTTP/2

Conclusion

HTTP/2 includes several essential optimizations over the previous HTTP protocol. These advantages have prompted many businesses to adopt the HTTP/2 protocol. HTTP/2 features help to reduce latency, make reloading of webpages faster, and more efficient use of network resources, and hence improve the overall performance and user experience of web applications and services.