Wednesday, July 5, 2017

HTTP vs HTTPS

You sometimes here people say that they’ll keep using HTTP because it’s faster than HTTPS. This doesn’t have to be true(to spoil the surprise think HTTP2 Smile). Let’s try the test on https://www.httpvshttps.com/:

The first test is using HTTPS, loads 360 unique, non-cached images and completes in 0.716 seconds.

image

To proof there is no magic, here is the network traffic overview:

image

Let’s do the same test but with HTTP instead. 7.770 seconds! Auw, that hurts:

image

And an overview of the related traffic:

image

So where is the magic? As a I already revealed at the beginning of this post, the magic is in the usage of HTTP2. HTTP2 is the replacement for HTTP with a focus on speed. It only works on secured connections using SSL but as the tests above proof is a lot faster than HTTP.  So no excuses anymore to not start using HTTPS(and HTTP2)!

No comments: