What is the difference between HTTP 1.1 and HTTP 2.0?

HttpTcpWebserverHttp2

Http Problem Overview


> HTTP/1.1 has served the Web well for more than fifteen years, but its > age is starting to show.

Can anybody explain what is the main difference between HTTP 1.1 and 2.0?

Is there any change in the transport protocol?

Http Solutions


Solution 1 - Http

HTTP/2 supports queries multiplexing, headers compression, priority and more intelligent packet streaming management. This results in reduced latency and accelerates content download on modern web pages.

More details here.

Solution 2 - Http

HTTP 2.0 is a binary protocol that multiplexes numerous streams going over a single (normally TLS-encrypted) TCP connection.

The contents of each stream are HTTP 1.1 requests and responses, just encoded and packed up differently. HTTP2 adds a number of features to manage the streams, but leaves old semantics untouched.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1968030View Question on Stackoverflow
Solution 1 - Http84RR1573RView Answer on Stackoverflow
Solution 2 - HttpphihagView Answer on Stackoverflow