-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
27 lines (18 loc) · 1.04 KB
/
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
25
26
27
---
title: rel=prerender
slug: Web/HTML/Attributes/rel/prerender
page-type: html-attribute-value
status:
- deprecated
- non-standard
browser-compat: html.elements.link.rel.prerender
---
{{HTMLSidebar}}{{Deprecated_Header}}{{Non-standard_header}}
The **`prerender`** 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 might need the target resource for the next navigation, and therefore the browser can likely improve the user experience by preemptively fetching and processing the resource — for example, by fetching its subresources or performing some rendering in the background offscreen.
This feature is superceded by the [Speculation Rules API](/en-US/docs/Web/API/Speculation_Rules_API).
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- [Speculative loading](/en-US/docs/Web/Performance/Speculative_loading) for a comparison of `<link rel="prerender">` and other similar performance improvement features.