Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify clear-site-data integration, and special keywords for prefetch and prerender #357

Open
domenic opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request in progress The ideas discussed in this issue are actively being worked on in either implementation or spec prefetch Related to prefetching prerendering Related to prerendering

Comments

@domenic
Copy link
Collaborator

domenic commented Jan 31, 2025

We should specify (and implement) that clear-site-data clears all active prerenders and prefetches, when you use the "cache" value. This would be done by patching the https://w3c.github.io/webappsec-clear-site-data/#clear-cache spec (probably via more monkeypatches in the prefetch / prerender specs).

Additionally, we should let origins specifically clear these caches in a more targeted way. I suggest introducing new values, "prefetchCache" and "prerenderCache", which perform this targeted clearing. This helps with the use cases discussed in #352; see especially #352 (comment).

@domenic domenic added in progress The ideas discussed in this issue are actively being worked on in either implementation or spec prefetch Related to prefetching prerendering Related to prerendering enhancement New feature or request labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress The ideas discussed in this issue are actively being worked on in either implementation or spec prefetch Related to prefetching prerendering Related to prerendering
Projects
None yet
Development

No branches or pull requests

1 participant