← Back to release summary

Speculation Rules: Referrer-provided prefetch proxies

Category
Performance
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

This feature extends speculation rules with a new requirement that allows sites to set a referrer-provided prefetch proxy for their documents' cross-origin prefetches. This allows sites to speed up cross-origin/site navigations using a proxy of their choice.

Motivation

The Speculative Loading spec asks browsers to provide IP-anonymizing proxies to satisfy the "anonymous-client-ip-when-cross-origin" requirement for speculation rules. Privacy concerns limit the use of browser-provided prefetch proxies. Only sites that are 1P to the browser and prefetch proxy can straightforwardly use the requirement above. For 3P sites, the proxy is only usable when the user has opted-in to an additional privacy setting. In the referrer-provided prefetch proxy architecture, the website initiating the prefetch operates its own privacy-preserving proxy server and specifies it in the page’s speculation rules script. This aligns the proxy trust model, avoids introducing a third-party service, and shifts the operational cost to the party that directly benefits from faster navigation.

Standards & signals

Ecosystem

Explainers: https://github.com/WICG/nav-speculation/blob/main/referrer_provided_prefetch_proxies_draft.md

View on chromestatus.com