问题
I'm trying to optimize my page speed, and I am receiving this error. I'm kind of confused by what its trying to tell me because it's only listing my domain twice?
回答1:
It is merely informing you of the resources requested that are required to render the "above the fold" content.
As the initial query was to http and you redirected to https that still counts as 2 requests so it is just informing you.
You need to realise the stuff under "diagnostics" has nothing to do with scoring and is purely there to help you identify potential issues.
In reality there is nothing you need to do here (other than maybe change your redirect to a 301 instead of a 307 redirect as that would be a be a "permanent redirect" instead of a "temporary redirect").
来源:https://stackoverflow.com/questions/63185939/pagespeed-insights-avoid-chaining-critical-request-only-lists-initial-navigation