← Back to release summary

Subresource prefetching+loading via Signed HTTP Exchange

Category
Network / Connectivity
Type
New or changed feature
Status
Enabled by default (Chrome 85)
Intent stage
Shipped

Summary

Adds support signed exchange subresource prefetching and loading by extending the HTTP link header.

Motivation

Signed Exchanges allow a distributor to distribute content signed by a publisher and have the UA show the publisher's URL, give scripts access to the publisher's local storage, etc. However, the URLs of subresources are fixed in the signed top-level HTML file, which prevents their loads from taking advantage of any signed versions that might be prefetched the distributor's origin. To allow the subresources to be prefetched from the same distributor as the top-level page,the publisher needs to change the subresource URLs in the HTML to point to each distributors’ URL and needs to sign for each distributor. We want to allow publishers to create a single signed top-level HTML file that allows its subresources to be prefetched from a variety of distributors.

Standards & signals

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

Samples: https://github.com/horo-t/sub-sxg

Explainers: https://github.com/WICG/webpackage/blob/master/explainers/signed-exchange-subresource-subtitution-explainer.md

View on chromestatus.com