<link rel="dns-prefetch">
Widely available since before 2022-07-15
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 3 Released on 2008-06-17
- Firefox for Android 4 Released on 2011-03-29
- Safari 5 Released on 2010-06-07
- Safari on iOS 4.2 Released on 2010-11-22
Specifications
- HTML Standard (#link-type-dns-prefetch), from HTML Workstream (WHATWG).