This feature is not Baseline because it does not work in some of the most widely-used browsers.
The dns-prefetch 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 performing DNS resolution for that origin.
See Using dns-prefetch for more details.
| Specification |
|---|
| HTML> # link-type-dns-prefetch> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
dns-prefetch |
46 | 79 | 1273–127Only HTTP pages were supported. |
33 | 5 | 46 | 1274–127Only HTTP pages were supported. |
33 | 26 | 5.0 | 46 | 26 |
<link rel="dns-prefetch"> and other similar performance improvement features.
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/dns-prefetch