← Back to release summary

Same-site cross-origin prerendering triggered by the speculation rules API

Category
Performance
Type
New or changed feature
Status
Enabled by default (Chrome 109)
Intent stage
Shipped

Summary

Previously [1] we launched same-origin prerendering triggered by the speculation rules API. This expands coverage to also allow triggering same-site cross-origin pages [2]. This prerendering will be done with credentials and storage access, but such prerender targets will need to opt in by using the `Supports-Loading-Mode: credentialed-prerender` header. [1]: https://chromestatus.com/feature/5355965538893824 [2]: https://web.dev/same-site-same-origin/

Motivation

Prerendering is a useful technology for speeding up page loads, and ideally referrer pages would be able to prerender all target pages. By expanding the circle of prerenderable pages to include same-site cross-origin pages, we allow more navigations on the web to be instant.

Standards & signals

Docs: https://docs.google.com/document/d/1WsDYA8NMCSwsK8dXCKdajdAd3ZcQUu9w1eoe0hEB_nU/edit?usp=sharing

Explainers: https://github.com/WICG/nav-speculation/blob/main/prerendering-same-site.md#more-details-on-cross-origin-same-site https://github.com/WICG/nav-speculation/blob/main/opt-in.md

View on chromestatus.com