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
Clear Site Data for dictionaries #34
Comments
Should "dictionaries" be separate from "cache" here? I'd also assume that when users delete their cache (regardless of ClearSiteData), dictionaries will go away. |
On second thought, I feel like clearing the dictionaries for
Yes, dictionaries should be deleted when the user clears the cache or cookies from the browser's settings page. |
I don't think we need a new entry specifically. The dictionaries should be cleared when either the The metadata has cookie-like concerns so it needs to also be cleared when cookies are cleared. The argument could be made that it only needs to be cleared from clear-site-data when |
Please don't conflate From the other discussion it seems like " |
sgtm. It's much cleaner to describe that way too. I'll add some text to cover that case. |
Currently compression dictionaries are cleared when either the "cache" or "cookies" are set in `Clear-Site-Data`. But it would be very useful if there is a way to only clear the compression dictionaries without clearing HTTP caches and Cookies. So, I'd like to propose a new "dictionaries" datatype in Clear-Site-Data HTTP Response Header Field. WICG/compression-dictionary-transport#34
@pmeenan |
Discussing it internally does not a standard make. If you want to change what we previously came to agreement on you should put forward some arguments. |
Oh yes, I'm sorry. A developer trying out Compression Dictionary's Origin Trial requested that we provide a way to clear saved dictionaries. |
I created a new issue to discuss the underlying request rather than jumping to an implementation: #54 There's nothing sensitive about the internal discussions, they were with an origin trial user struggling with A/B testing the effectiveness and it will be even more complicated after it is not gated by a trial (though I'm not sure that's a concern for the web platform). |
Sounds good. Thank you for filing the new issue. |
There is no way to delete registered dictionaries.
I think we should support it using Clear Site Data. The Clear Site Data spec defines following types.
"cache"
"cookies"
"storage"
"executionContexts"
"*"
I think Web developers will want to delete dictionaries without deleting other types (
"cache"
,"cookies"
,"storage"
). So we should introduce a new type"dictionaries"
.The text was updated successfully, but these errors were encountered: