<link rel="preconnect">
Widely available since 2022-07-15
The rel="preconnect"
attribute for the <link>
HTML element is a hint to the browser that the page or user is likely to request resources from another origin, so the browser should preemptively start a connection to the href
value's origin.
Learning resources on MDN
Browser support
- Chrome 46 Released on 2015-10-13
- Chrome Android 46 Released on 2015-10-14
- Edge 79 Released on 2020-01-15
- Firefox 39 Released on 2015-07-02
- Firefox for Android 39 Released on 2015-07-02
- Safari 11.1 Released on 2018-04-12
- Safari on iOS 11.3 Released on 2018-03-29
Specifications
- HTML Standard (#link-type-preconnect), from HTML Workstream (WHATWG).