Search code examples
firebasehttp2firebase-hosting

Unable to figure out why firebase hosting is not using http 2


I've set up a fresh hosting project (not using any custom domain at the moment) and split up some of my js files expecting them to be served via http2 (as described in firebase blog posts it should be enabled by default?) However protocol still shows up as http/1.1. Am I missing something? Do I need to add entry in my config files to force http2?

enter image description here

DEMO: https://asimetriq-com.firebaseapp.com/


Solution

  • Works for me, see attached screenshot.

    It may mean that you have some transparent proxy that does not support HTTP/2 in the network hops from your client to the server.

    Also, from time to time, browsers may downgrade the protocol they are using to collect statistics about protocol performances to be able to compare them.

    asimetriq on h2