The internet is in a constant process of de­vel­op­ment that is char­ac­ter­ised by advanced tech­no­lo­gies, new content, and growing user demands. The simpler days of simpler websites have now been replaced by complex web presences that are perfectly tailored to the visitor and their devices. Access time and data transfer play an ever-in­creas­ing role regarding the usability and speed at which modern websites display their content. It is therefore not sur­pris­ing that HTTP/2 is a modern, more advanced version of the old internet protocol, HTTP/1.1, and should decrease the loading time. 

What is HTTP exactly?

In order to pull up a website there are numerous internet protocols in action which are assigned to different levels and regulate the sending and trans­fer­ring of requested data. The Hypertext Transfer Protocol (HTTP) is a top-level protocol, known as the ap­plic­a­tion layer. This transfer protocol enables ap­plic­a­tions, such as internet browsers, to com­mu­nic­ate with the re­spect­ive web server that is hosting the requested website. HTTP transfers the website’s hypertext to the browser, which then converts this into text, images, or videos.

When looked at from a technical per­spect­ive, every com­mu­nic­a­tion unit is comprised of two areas: the message header, also known as HTTP header, and the message body. The header delivers all relevant in­form­a­tion that needs to be in­ter­preted, such as the message body that contains the user data.

Just like the two corner­stones of the World Wide Web – URL and HTML – the de­vel­op­ment of HTTP began in the European Or­gan­iz­a­tion for Nuclear Research (CERN) in Switzer­land - this took place in 1989. The first published spe­cific­a­tion, RFC 1945 (Request For Comments), issued in May 1996, became commonly known as HTTP/1.0. This first version was replaced in June 1999 by HTTP/1.1, which is still in use today. The official successor HTTP/2 was launched in May 2015 as RFC 7540 and the plan is for it to re­volu­tion­ise data transfer online.

The de­vel­op­ment of HTTP/2

In 2009 Google in­tro­duced its al­tern­at­ive to HTTP/1.1 with SPDY. The biggest point of criticism about the old HTTP version was that the transfer protocol un­ne­ces­sar­ily thwarted new, complex websites. This was due to a new TCP/IP con­nec­tion needing to be es­tab­lished for every in­di­vidu­al file when using HTTP/1.1. Using SPDY, Google can solve this problem through using mul­ti­plexes when trans­fer­ring. Many documents can be sent via a TCP/IP con­nec­tion. In 2012 the Internet En­gin­eer­ing Task Force (IETF) began working on HTTP/2 with a concept based on Google’s SPDY protocol. Since the SPDY im­ple­ment­a­tion showed numerous flaws and security gaps, many changes needed to be carried out, which then led to HTTP/2 being sig­ni­fic­antly different to SPDY.

The im­prove­ments of HTTP/2

One of the main char­ac­ter­ist­ics of HTTP/1.1 has already been mentioned: in order to transfer different page elements like image, JavaS­cript, or CSS files to the client/browser, a separate TCP/IP con­nec­tion needs to be opened and closed again. Just like its role model, SPDY, HTTP/2 uses the multiplex procedure in order for the whole website to be loaded with just a single con­nec­tion. The server also has the ability to pass on pre­dict­able follow-up data to the client without them having to ask (server push). With HTTP/2, data packets from websites can be sent in order of their priority; for example, elements that are re­spons­ible for building the site would appear first. The HTTP/2 header is sent heavily com­pressed in com­par­is­on to HTTP/1.1 because un­ne­ces­sary in­form­a­tion is omitted. An ad­di­tion­al im­prove­ment is the use of binary code (in place of text files) when com­mu­nic­at­ing, which sim­pli­fies the process and makes it less error-prone. Here is a summary of all the HTTP/2 im­prove­ments:

  • con­nec­tion between a browser (client) and a website
  • binary-coded message exchange
  • heavily com­pressed HTTP message header
  • server push with fore­see­able requests (only for Apache and not for Nginx)
  • pri­or­it­isa­tion of important site elements

The back­ground of the new HTTP/2  features is il­lus­trated in this video by Akami Tech­no­lo­gies:

HTTP/2 – Browser support

Since the release of HTTP/2, a lot of work has been done. Numerous web browsers and servers meanwhile support the new internet protocol. Mozilla Firefox has even had the protocol im­ple­men­ted since version 36 (February 2015). All versions until now have been loaded with HTTP/2 over TLS, which is the encrypted variant of the transfer protocol.

Fact

80% of browsers already support HTTP/2. Apart from Opera Mini, the Black­berry browser, IE Mobile, and the UC browser for Android, HTTP/2 support is available in the current browser versions (as of March 2017). An overview of all supported browsers can be found here.

The number of websites that already use the new transfer protocol is re­l­at­ively low compared to sup­port­ing browsers. Nev­er­the­less, the number increased within one year to almost 10% from 1.2% at the end of September 2016. In March 2017, at least 12.7% of all website were using HTTP/2. An overview of the current state of usage can be found here. So far website operators with very high viewing numbers, like Google and Twitter, have converted their web presence to HTTP/2. Con­sid­er­ing the ad­vant­ages and the strongly in­creas­ing support through all current browsers, it will only be a question of time until the majority of websites use HTTP/2.

Tip

Thanks to IONOS's Web Hosting packages, your web project can benefit from HTTP/2 and an SSL cer­ti­fc­ate for optimal security.

This overview shows which browsers support HTTP/2:

IEEdgeFirefoxChromeSafariOperaiOS SafariAndroid BrowserChrome for Android
11*14505510*429.35355
15515610.1*4310.2
5257TP*44
5358
5459

*partially supported

A glance into the future

Using HTTP/2 is not a re­quire­ment, but it does have some ad­vant­ages. In addition, SSL/TLS en­cryp­tion has been an important Google Ranking Factor since the end of 2014 and, due to SEO reasons, should not be neglected. If you have toyed with the idea of cer­ti­fy­ing your own web presence, you should seriously consider switching directly to HTTP/2 over TLS. There are two ad­di­tion­al factors when using HTTP/2 that are be­ne­fi­cial for a good ranking. The first is that the shorter loading time of your website is ranked better by Google, as well as it being preferred by site visitors. The second is that HTTP/2 makes sure that your website loading time is clearly under Google’s specified threshold of two seconds, as the URL is not crawled as often. With HTTP/2, your website will continue to be crawled regularly by Google and new content will be indexed sig­ni­fic­antly faster.

Tip

Want to make your website more secure? Learn more about SSL cer­ti­fic­ates from IONOS and how they increase your site’s trust­wor­thi­ness.

Go to Main Menu