Pagespeed insights avoid chaining critical request only lists Initial navigation followed by my domain twice

只谈情不闲聊 提交于 2021-01-29 17:51:14

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!