Lighthouse: Shows "Does not use HTTP/2 for all of its resources" tip when files are loaded from service worker via http/1.1 protocol

Created on 5 Feb 2019  路  3Comments  路  Source: GoogleChrome/lighthouse

Provide the steps to reproduce

  1. Run LH on https://www.anthonydesigner.com/

What is the current behavior?

All files are served with H2 initially but it still shows "Does not use HTTP/2 for all of its resources" tip because files are loaded from service worker via http/1.1 protocol.

What is the expected behavior?

I think it should show that tip only if files aren't served with H2 initially, not when service worker is used.

Environment Information

  • Affected Channels: DevTools
  • Lighthouse version: 3.2.0
  • Operating System: Mac OSX
P2 bug

Most helpful comment

related issue https://github.com/gatsbyjs/gatsby/issues/11123

I'm putting up a PR for it.

All 3 comments

related issue https://github.com/gatsbyjs/gatsby/issues/11123

I'm putting up a PR for it.

@asistapl PR is up might giving this a spin yourself?

@wardpeet I launched cli from "bug/sw-h2" branch and it works for me! Thank you 馃帀

Was this page helpful?
0 / 5 - 0 ratings