[Article] HTTP/2 support has been introduced

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Aprelium Forum Index -> 2.16 Beta [Closed]
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1195

PostPosted: Wed Aug 25, 2021 8:23 pm    Post subject: [Article] HTTP/2 support has been introduced Reply with quote

While building on the original HTTP protocol, HTTP/2 introduces some major differences in order to speed up serving Web content:

  • HTTP/2 is a binary protocol: HTTP/2 clients and servers exchange binary messages contrarily to HTTP/1.1 and HTTP/1.0 which are plaintext protocols.
  • HTTP/2 allows multiplexing: it can serve concurrently multiple requests over the same TCP/IP connection. HTTP/1.0 used to allow a single request over a connection. HTTP/1.1 is a bit better as it allows reusing the same TCP/IP connection to serve many requests sequentially (using its distinctive keep-alive feature.)
  • HTTP/2 compresses request and response headers: HTTP makes extensive use of headers which contain meta-information about the exchanged payload. These headers are redundant accross requests and responses. HTTP/2's HPACK algorithm takes care of this and reduces header footprint to reduce the bytes required to express a request or a response.

But HTTP/2 continues to convey HTTP protocol messages using the same semantics as those already used by HTTP/1.1.
HTTP/2 is not a new protocol which defines operations from scratch: it is rather a new transmission set of rules to transparently multiplex and encapsulate HTTP messages as defined by the earlier HTTP/1.1 standard.
HTTP/2 will not supercede or replace HTTP/1.1. Both will continue to live next to each other. HTTP/1.1 will continue to be the at the core of HTTP/2 exchanges.

Taking advantage of HTTP/2 require almost no changes to your Web sites or Web applications.
HTTP/2 adoption will offer a noticeable service speed bump without any update to your configuration change: HTTP/2 will use the same secure port you have already setup to service HTTPS. This is possible because when the connection is established, the server informs the browser that it supports both "h2" and "http/1.1" during the SSL/TLS early handshake
If the browser understands HTTP/2, it will acknowledge the "h2" protocol use for the rest of the connection.
If the browser is old or does not understand HTTP/2, it will ignore that choice and proceed with legacy plain text HTTP/1.1 exchanges.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Aprelium Forum Index -> 2.16 Beta [Closed] All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group