rel="prerender" HTML attribute value

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.

The prerender keyword for the rel attribute of the <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 superseded by the Speculation Rules API.

Specifications

This feature does not appear to be defined in any specification.

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
rel=prerender
Deprecated Non-standard
Chrome – No support
Chrome 13 – 61 (Release date: 2011-08-02)
footnote Removed in 62 and later
Chrome – Partial support
Chrome 63 (Release date: 2017-12-06)
footnote Partial support
footnote Does not trigger prerendering. Triggers NoState Prefetch instead. See blog post.
Edge – Partial support
Edge 79 (Release date: 2020-01-15)
footnote Partial support
footnote Does not trigger prerendering. Triggers NoState Prefetch instead. See blog post.
Firefox – No support
Firefox
footnote No support
Opera – No support
Opera 15 – 48 (Release date: 2013-07-02)
footnote Removed in 49 and later
Opera – Partial support
Opera 50 (Release date: 2018-01-04)
footnote Partial support
footnote Does not trigger prerendering. Triggers NoState Prefetch instead. See blog post.
Safari – No support
Safari
footnote No support
Chrome Android – No support
Chrome Android 18 – 61 (Release date: 2012-06-27)
footnote Removed in 62 and later
Chrome Android – Partial support
Chrome Android 63 (Release date: 2017-12-05)
footnote Partial support
footnote Does not trigger prerendering. Triggers NoState Prefetch instead. See blog post.
Firefox for Android – No support
Firefox for Android
footnote No support
Opera Android – No support
Opera Android 14 – 45 (Release date: 2013-05-21)
unknown Support unknown
Opera Android – Partial support
Opera Android 46 (Release date: 2018-05-14)
footnote Partial support
footnote Does not trigger prerendering. Triggers NoState Prefetch instead. See blog post.
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – Full support
Samsung Internet 1.5 (Release date: 2013-09-25)
footnote Full support
WebView Android – No support
WebView Android 4.4 – 61 (Release date: 2013-12-09)
footnote Removed in 62 and later
WebView Android – Partial support
WebView Android 63 (Release date: 2017-12-05)
footnote Partial support
footnote Does not trigger prerendering. Triggers NoState Prefetch instead. See blog post.
WebView on iOS – No support
WebView on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.
Has more compatibility info.

See also

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