rel=dns-prefetch

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

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.

Specifications

Specification
HTML Standard
# link-type-dns-prefetch

Browser compatibility

BCD tables only load in the browser

See also

  • Speculative loading for a comparison of <link rel="dns-prefetch"> and other similar performance improvement features.