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.
<link rel="preconnect" href="https://example.com">
Specifications
Specification |
---|
HTML Standard # link-type-preconnect |
Browser compatibility
BCD tables only load in the browser