Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Intent to Prototype: Add prefetchCache and prerenderCache to Clear-Site-Data header

140 views
Skip to first unread message

Chromestatus

unread,
Apr 25, 2025, 12:25:03 PMApr 25
to blin...@chromium.org, d...@chromium.org, stev...@microsoft.com

Contact emails

stev...@microsoft.com

Explainer

https://github.com/WICG/nav-speculation/blob/main/clear-site-data-integration.md

Specification

https://chromium-review.googlesource.com/c/chromium/src/+/6456388

Summary

We propose adding two new values to the Clear-Site-Data header to help developers target clearing the prerender and prefetch cache: “prefetchCache” and “prerenderCache”.



Blink component

Blink>Loader>Preload

Motivation

Currently, the only way to clear the prefetch and prerender cache is through either the Clear-Site-Data header "cache" value or manually having the UA clear their browsing data cache. With the increased adoption of Speculation Rules, developers want a way to target specifically clearing prefetches, prerenders, or both, without disrupting other session information, such as history, cookies, etc. By adding "prefetchCache" and "prerenderCache" values to the Clear-Site-Data response headers, there is an option to target only these specific caches.



Initial public proposal

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

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on about://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/4755745652080640?gate=5093598114349056

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages