-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
24 lines (15 loc) · 885 Bytes
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: rel=dns-prefetch
slug: Web/HTML/Attributes/rel/dns-prefetch
page-type: html-attribute-value
browser-compat: html.elements.link.rel.dns-prefetch
---
{{HTMLSidebar}}
The **`dns-prefetch`** keyword for the [`rel`](/en-US/docs/Web/HTML/Element/link#rel) attribute of the {{HTMLElement("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](/en-US/docs/Web/Performance/dns-prefetch) for more details.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- [Speculative loading](/en-US/docs/Web/Performance/Speculative_loading) for a comparison of `<link rel="dns-prefetch">` and other similar performance improvement features.