Add explanatory text to about:cache that sizes are only for subset of entries
Categories
(Core :: Networking: Cache, task, P3)
Tracking
()
People
(Reporter: mayhemer, Assigned: sekim)
Details
(Keywords: good-first-bug, Whiteboard: [necko-triaged])
Attachments
(1 file)
Comment 1•6 years ago
|
||
Updated•3 years ago
|
Comment 2•2 years ago
|
||
The about:cache page gets generated in this file: https://searchfox.org/mozilla-central/rev/606cdd34860e42611fceba025314864cd293a43b/netwerk/protocol/about/nsAboutCache.cpp#80-95
sizes are only for subset of entries
- Why is this the case, anyway? Exact phrasing might also be helpful here for good-first-bug purposes.
- Do we need to consult UX/UI on this kind of page?
- Should this only visible on
about:cache?storage=or should it also be visible onabout:cache?storage=diskandabout:cache?storage=memory?
Comment 4•2 years ago
|
||
(In reply to Ed Guloien [:edgul] from comment #3)
sizes are only for subset of entries
- Why is this the case, anyway? Exact phrasing might also be helpful here for good-first-bug purposes.
I think it means that the size of an entry displayed in about:cache shows the size of the data, not the size of the file that's stored on disk - which also contains metadata, security-info, response headers, etc.
- Do we need to consult UX/UI on this kind of page?
Not really. Your average user doesn't know it exists, and it's not localized as far as I know.
- Should this only visible on
about:cache?storage=or should it also be visible onabout:cache?storage=diskandabout:cache?storage=memory?
I think only the subpages are affected, not about:cache.
I'm not sure if what we want here is to also show the size of the file on disk, which would be non-trivial, or just to add a note to the page that says something like Data sizes refer to the size of response body and doesn't reflect how much disk space the file occupies.
If we want another column to display the used disk space, I think we can use diskStorageSizeInKB.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
Backed out for causing xpcshell failures.
Comment 9•2 years ago
•
|
||
Failures in comment 7 are from https://bugzilla.mozilla.org/show_bug.cgi?id=1894995#c5. This has been relanded and it will be closed as fixed when it reaches mozilla-central.
Comment 10•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 years ago
|
Updated•1 year ago
|
Description
•