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•5 years ago
|
||
Updated•2 years ago
|
Updated•11 months ago
|
Comment 2•11 months ago
|
||
The about:cache
page gets generated in this file: https://searchfox.org/mozilla-central/rev/606cdd34860e42611fceba025314864cd293a43b/netwerk/protocol/about/nsAboutCache.cpp#80-95
Comment 3•5 months ago
•
|
||
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=disk
andabout:cache?storage=memory
?
Comment 4•5 months 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=disk
andabout: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.
Comment 7•5 months ago
|
||
Backed out for causing xpcshell failures.
Comment 9•5 months 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•5 months ago
|
||
bugherder |
Updated•3 months ago
|
Description
•