-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use HTTP/2 audit on pagespeed insights #12208
Comments
Thank you for filing this! I've raised this issue with the right people internally. |
I tried other pages that redirect: https://paulirish.com -> https://www.paulirish.com ; that redirects as expected, although the first request is done over http/1.1 in PSI (even tho it says h2 in devtools network panel...), the rest are h2. I suspect this is another bug. For your url, it seems our system is getting into an infinite redirect loop (altho Chrome itself has no problem...) output of curl command you gave:
It seems the first request does |
More on the initial request not being h2 when redirected... Here is the part of the devtools log I get from
Here is the same section of the devtools log when running Lighthouse locally with chrome canary:
Here's what I noticed:
|
For your particular issue @SoftCreatR, it seems that the server for that URL is responding differently to PSI than to curl. Can you think of any reason that your server would respond with redirects like this:
|
@connorjclark Thanks for the info regarding the endless loop. This happened because your client did not accept cookies. However, I've just fixed that, because that was unintended and just a side-effect of something that has been implemented recently. This also fixed the PSI response for
which is the redirect target for
But as you can see, it still reports HTTP/1.1 wrong for the main URL. |
Yup, can verify that here too. We'll track that bug in this issue. |
As reported already (#12113), PSI reports a wrong HTTP version for several websites.
This seems to be a problem if the target page doesn't return a 200 response code.
Working: https://developers.google.com/speed/pagespeed/insights/?hl=de&url=https%3A%2F%2Fwww.softcreatr.com%2Fx.php
Not working: https://developers.google.com/speed/pagespeed/insights/?hl=de&url=https%3A%2F%2Fwww.softcreatr.com
Doing
shows, that there are 1-2 redirects, before returning 200, but every response is sent via HTTP/2, so PSI's result is a false positive.
The text was updated successfully, but these errors were encountered: