Open
Bug 1349530
Opened 8 years ago
Updated 2 years ago
Show how much data a given page is using in the storage inspector
Categories
(DevTools :: Storage Inspector, enhancement, P3)
DevTools
Storage Inspector
Tracking
(platform-rel -)
NEW
Tracking | Status | |
---|---|---|
platform-rel | --- | - |
People
(Reporter: pbro, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [todo-mr][platform-rel-Shopify][t3])
Feature idea:
It would be useful if there was a way to see how much storage a website is using, with a breakdown by storage type (cookies, IDB, local storage, etc.)
Reporter | ||
Comment 1•8 years ago
|
||
Hey Thibaut, I think this idea comes from you originally, unless I got bugzilla username wrong.
Feel free to elaborate on the use case if you can!
Flags: needinfo?(thibaut)
Updated•8 years ago
|
platform-rel: --- → ?
Whiteboard: [platform-rel-Shopify]
Comment 2•8 years ago
|
||
Hey Patrick
- Cookies are sent along with every request. This is an often neglected aspect of web performance. Surfacing the size of cookies in various ways (for each individual cookie, total size for the domain, total size for filtered items, etc.) would help developers better understand the cost of cookies and optimize their use (e.g. is it better to use a single cookie with a JSON-encoded value or 10 simple key/value cookies?). A lot can be gleaned from the Request Headers size in the Network tab, but headers vary from request to request, so this doesn't make it easy to optimize cookies specifically.
- Browsers enforce a 5-10MB quota on LocalStorage/SessionStorage. Currently there is no API to know how much LocalStorage a website is using, which makes it difficult to optimize storage, compare serialization approaches, make sure the website doesn't go over quota, etc.
- On DevDocs (http://devdocs.io) I have to deal with IndexedDB's QuotaExceededError (+ the data disappearing) a lot, because again there is no API to know much data is stored, how much can be stored, and the amount that can be stored is variable in most variables. The Storage Standard API will help with that (https://storage.spec.whatwg.org/), but in the meantime (and even after), it would be useful for developers like me that are making heavy use of IDB to get an estimate of how much storage is being used so that I can compare serialization approaches, relay the estimate to my users, etc.
Hope this helps.
Flags: needinfo?(thibaut)
Updated•8 years ago
|
platform-rel: ? → -
Whiteboard: [platform-rel-Shopify] → [todo-mr][platform-rel-Shopify]
Priority: -- → P3
Filter on HOTFROG.
Whiteboard: [todo-mr][platform-rel-Shopify] → [todo-mr][platform-rel-Shopify][t3]
Reporter | ||
Updated•7 years ago
|
Severity: normal → enhancement
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
yes, having info about the data that each website is consuming will be a huge plus. Like I mean in third world countries especially where internet users don't get unlimited amount of data, they should have such stats on hands to control their internet usage.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•