HTTP/1 vs HTTP/2 Page Loading

Oh Dear! monitors your entire site, not just the homepage. We crawl and search for broken pages and mixed content, send alerts when your site is down and notify you on expiring SSL certificates.

Start your free 10 day trial! »

Image of Mattias Geniar

Mattias Geniar, April 16, 2015

Follow me on Twitter as @mattiasgeniar

An interesting proof-of-contept: http2.golang.org.

Especially with simulated latency, HTTP/2 shows its true potential.

HTTP/1: 31s to load

Loading happens in clear concurrency blocks of 6 assets each.

http1_waterfall_1

30 seconds later

http1_waterfall_2

And done, after a whopping 31 seconds.

HTTP/2: 1.7s to load

Concurrency shows its power here. Assets are loaded over a single multiplexed TCP stream.

http2_concurrency_1

1.5 seconds later

http2_concurrency_2

These results are in line with my earlier testing on HTTP/2;

Despite all its hate HTTP/2 seems to be receiving, some benchmarks just don’t lie.

Will you help me share this post?

It would mean a lot to me if you could help share this post on social media. 🤗