Pairing dns-prefetch and preconnect #30096
Labels
Content:Performance
Web performance docs
effort: small
This task is a small effort.
goal: up-to-date
(Experimental label) Issues about outdated content.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch
What specific section or headline is this issue about?
#best_practices
What information was incorrect, unhelpful, or incomplete?
preconnect
will perform the dns lookup but also establishes a connection to a server wheredns-prefetch
will only do the first part.The best practice encourage to use both:
What did you expect to see?
As the support for
preconnect
seems to be pretty ok now and httpS is the standard (where the potential gain ofpreconnect
is at the maximum), I think that pairing is no more useful.I was expected to be encouraged to only use
preconnect
Do you have any supporting links, references, or citations?
https://caniuse.com/link-rel-dns-prefetch
https://caniuse.com/link-rel-preconnect
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/performance/dns-prefetch
The text was updated successfully, but these errors were encountered: