You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl;dr Developers should include preconnects in the order they're to be utilized
Chrome currently places a limit of 3 in-flight preconnects so developers don't need to compute how many hosts to preconnect to. This means developers connecting to a large number of hosts is WAI, but I don't believe most know the order of the preconnect origins is kinda important.
It may be worth Lighthouse include text in our docs to make it clear Chrome doesn't preconnect to all origins at the same time. So, developers should include preconnects in the order they are expected to be utilized.
Initially marking as a docs issue. We may want to factor this into the preconnect audit text if it doesn't get too wordy... :)
tl;dr Developers should include preconnects in the order they're to be utilized
Chrome currently places a limit of 3 in-flight preconnects so developers don't need to compute how many hosts to preconnect to. This means developers connecting to a large number of hosts is WAI, but I don't believe most know the order of the preconnect origins is kinda important.
It may be worth Lighthouse include text in our docs to make it clear Chrome doesn't preconnect to all origins at the same time. So, developers should include preconnects in the order they are expected to be utilized.
Initially marking as a docs issue. We may want to factor this into the preconnect audit text if it doesn't get too wordy... :)
Confidence in this: confirmed with Tarun and Yoav
Source: https://cs.chromium.org/chromium/src/chrome/browser/predictors/preconnect_manager.h?rcl=226607d28a8085ffa3199f66954ee14c3e0736fb&l=138
Related fun tweet:
https://twitter.com/yoavweiss/status/1197551558071898113
The text was updated successfully, but these errors were encountered: