Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • What is Difference Between HTTP 1.1 and HTTP/2 ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 224
    Comment on it

    Difference between HTTP 1.1 and HTTP/2

    HTTP/2 is a new version of the Hypertext Transport Protocol. HTTP/2 is used to deliver pages to the browser from server on the Web. It is the first major update of HTTP. In 1999 HTTP was introduced, during this time webpages were usually just a single HTML file with inline CSS. Now we are facing the limitations of HTTP 1.1 as Internet has changed a lot from 1999 till present. For most modern websites there is transfer speed limits because data is downloaded in queue i.e. the previous part is downloaded first then next page is downloaded and so on, and about hundred request is needed to download an average modern webpage (webpage requests images, files, css, javascript files, etc..)

     

    To overcome these problems HTTP/2 is introduced with few fundamental changes

     

    1. In HTTP/2  all the requests will be downloaded in parallel while in HTTP 1.1 requests were made in a queue.

    2. In HTTP/2, HTTP headers are compressed, but in HTTP 1.1 headers are not compressed.

    3. In HTTP/2, server can "push" the data without user's request, this will increase the speed for users with high latency. While in HTTP 1.1 speed for users is less.

    4. In HTTP/2 pages are transferred through wire as a binary which is more efficient. While in HTTP 1.1 pages are transferred through wire as text files which was not efficient.

     

    Google Chrome and Mozilla Firefox has stated that they will support HTTP/2 only for HTTPS connections due to security reasons even though HTTP/2 does not require encryption. Therefore you must secure servers with HTTPS if you decide to set up servers with HTTP/2

     

    Thanks for reading the blog.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: