You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
We want to compute allowed-alt-sxg because authors won't have done this already. It is necessary to support prefetching subresources from webpkgcache.com by way of subresource substittution.
For each preload, the worker needs to:
Look up its URL in a header-integrity cache in the KV store.
If missing, fetch the URL, compute its header-integrity per this definition and store it in the cache.
For a first version, set an expiry of 1 day.
Ideally, use an expiry matching the subresource's cache-control header.
The KV store minimizes the # of backend fetches caused by this feature.