W3cubDocs

/HTML

Link types.preconnect

The preconnect keyword for the rel attribute of the <link> element is a hint to browsers that the user is likely to need resources from the target resource's origin, and therefore the browser can likely improve the user experience by preemptively initiating a connection to that origin.

Specifications

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
preconnect 46 79 39
39
Before Firefox 41, it doesn't obey the crossorigin attribute.
No 33 11.1
Mobile
Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
preconnect 46 46 39
39
Before Firefox 41, it doesn't obey the crossorigin attribute.
33 11.3 4.0

© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preconnect