<link rel="dns-prefetch">
Newly available since 2024-06-11
The rel="dns-prefetch"
attribute for the <link>
HTML element is a hint to the browser that the page or user is likely to request resources from another domain, so the browser should preemptively resolve DNS for the href
value's domain.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 46 Released on 2015-10-13
- Chrome Android 46 Released on 2015-10-14
- Edge ≤79 Released before 2020-01-15
- Firefox 127 Released on 2024-06-11
- Firefox for Android 127 Released on 2024-06-11
- Safari 5 Released on 2010-06-07
- Safari on iOS 4.2 Released on 2010-11-22
Specifications
- HTML (#link-type-dns-prefetch), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature