-
Notifications
You must be signed in to change notification settings - Fork 55
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
Miscellaneous editorial feedback #23
Comments
What does quota per-origin/per-source mean? |
I was using the (now deleted) implied definition of source as the API used, e.g. IDB, Cache, localStorage, etc. For example, origin A's IDB gets up to 25MB, origin A's Cache gets up to 50MB, etc. (made up numbers) So you could estimate that as 75MB quota, but IDB is not allowed to use more than 25MB. |
Oooh, "source" there mostly meant "site storage" or "network storage" (as clarified), not the API in question. I can see user agents wanting to keep a low limit for |
Those numbers are totally made up for the purposes of explaining Edge's model. The real numbers are device type specific and I have no idea what they are for specific type. Apparently the logic is documented on MSDN but I haven't found it yet. @aliams ? |
The documented quotas for IndexedDB are here: https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/dev-guide/storage/indexeddb/ The quotas for AppCache are here: https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/dev-guide/networking-and-connectivity/application-cache/ |
@aliams, is there rationale for them having different limits? Is an API that provides one quota for an origin acceptable? |
@annevk, are you asking why there are different limits based on device size or type (IndexedDB vs. AppCache)? If the former, it's because Edge runs on smaller capacity devices such as phones and we wanted the limits to take the device's volume size into account. If you were asking about the latter, it's because we built it that way back when it was first shipped and it hasn't been changed since then. To answer your second question, I'd like to move to a model where there is one quota per origin in Edge. For example, the new Caches would share their quota with IndexedDB. |
Thank you, that sounds great and aligns with the model in the standard. |
Just to make sure everything is addressed I went through your comments again. I filed one follow up and I'll add one note to close out this issue:
I've noted that we might need to uplift that at some point. See also #34.
Done.
This is already in the guidelines. Filed #35 for an explicit section.
Done.
Yeah, I should add a note explaining intent.
Addressed per discussion above.
This should be clearer now. |
The text was updated successfully, but these errors were encountered: