A Brief History Of HTTP

Brief Introduction of HTTP/2

Features of HTTP/2

Binary framing layer


Streams, messages, and frames


Request and response multiplexing


One connection per origin

Server push


Header compression


Pros and Cons

Pros :

Cons :

Enabling HTTP/2 on Azure App Service

Backward Compatibility with HTTP/1.1

Curl Request with HTTP/1.1

curl -I — http1.1 <hostname>response :HTTP/1.1 200 OK
Content-Length: 3318
Content-Type: text/html
Last-Modified: Wed, 15 May 2019 11:19:57 GMT
Accept-Ranges: bytes
Date: Wed, 15 May 2019 18:18:48 GMT

Curl Request with HTTP/2

curl -I — http2 <hostname>response :HTTP/2 200
content-length: 3318
content-type: text/html
last-modified: Wed, 15 May 2019 11:19:57 GMT
accept-ranges: bytes
date: Wed, 15 May 2019 18:22:09 GMT

Performance improvement with HTTP/2

Code Snippet

Page load time with HTTP/1.1

Page load time with HTTP/2

Development Engineer III at WalmartLabs, Bangalore

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store