Enable HTTP/2 support in Chrome

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, January 12, 2015

Follow me on Twitter as @mattiasgeniar

I actually thought HTTP/2 was enabled by default in Chrome, but as it turns out there’s a special flag (via a GUI) you still need to set.

Hi Engadget fans of HTTP/2! If you like this kind of tech-content, feel free to subscribe to updates via mail at the left sidebar, or follow me on Twitter as @mattiasgeniar..

How to enable HTTP/2 – SPDY4 in Chrome

Go to the chrome://flags page (I can’t link to it directly, as the browser won’t allow direct links to the settings page) in your Chrome browser. Search for HTTP/2. Find the option called Enable SPDY/4.

chrome_enable_http2_spdy

Next, restart Chrome and SPDY4 will be enabled. This is one of the earlier drafts of HTTP/2 (at the time of writing, HTTP/2 draft 14) that will now be enabled. If you’re using Firefox 36 or higher, HTTP/2 support is fully baked in and enabled by default.

If you’re running Chromes nightly “canary” build, you can view the Protocol used in the Network Tab. Even though the SPDY-HTTP2 option is disabled by default, the before and after protocols are exactly the same: h2-14.

It may just be that Google has different settings for its own domains, that have hard-coded HTTP/2 support.

Before & after enabling HTTP/2

Before:

http2_chrome_disabled

After enabling SPDY, HTTP/2:

http2_chrome_enabled

This’ll need a bit more testing to be sure.

More on HTTP/2?

Interested in HTTP/2 news? Have a look at some of the following articles.

Will you help me share this post?

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