Comments (10)
Please don't conflate Clear-Site-Data
with "Clear cookies" UI. The latter has to take all kinds of things into consideration and doesn't have much relation to "cookies
". The keying is also very different.
From the other discussion it seems like "cache
" might be the way to go.
from compression-dictionary-transport.
Should "dictionaries" be separate from "cache" here?
I'd also assume that when users delete their cache (regardless of ClearSiteData), dictionaries will go away.
from compression-dictionary-transport.
On second thought, I feel like clearing the dictionaries for Clear-Site-Data: "cache"
may be enough.
@pmeenan Do you have any thought about it?
I'd also assume that when users delete their cache (regardless of ClearSiteData), dictionaries will go away.
Yes, dictionaries should be deleted when the user clears the cache or cookies from the browser's settings page.
from compression-dictionary-transport.
I don't think we need a new entry specifically. The dictionaries should be cleared when either the cache
or cookies
are cleared. Actual implementation may be a bit more complex, but I find it easiest to think about the dictionary information as metadata about cache entries. If the cache entries go away then the dictionary is also gone.
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 cache
is cleared but if a user triggers UI to clear cookies then it also needs to be cleared but it feels like it would be cleaner to just always nuke the dictionaries when either the underlying HTTP cache gets cleared or user state is cleared.
from compression-dictionary-transport.
sgtm. It's much cleaner to describe that way too. I'll add some text to cover that case.
from compression-dictionary-transport.
Related Issues (20)
- No support for hash-based versioning HOT 2
- sec-fetch-dest for dictionary fetch HOT 8
- Allow for hash/versions in the middle of the path HOT 2
- Add cross-origin compression protection
- Copy edit issue HOT 1
- Consider making sec-available-dictionary: value path-safe
- Standards positions HOT 3
- i.e. vs e.g.
- Path parsing HOT 3
- Abbreviated structured field dictionary keys HOT 5
- Grabbing authority for paths closer to the root HOT 3
- Consider Websocket use case HOT 9
- Consider support other Content-Encoding schemes HOT 2
- Exposing storage usage for dictionaries HOT 10
- Dictionary partitioning in browsers without tripled-keyed HTTP cache HOT 1
- Define mechanism for advertising non-bytestream dictionary formats
- Content-encoding may be fragile
- Consider options for Path of side-loaded dictionaries HOT 1
- Hashes, algorithm agility, and overlap with HTTP digests. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compression-dictionary-transport.