Closed Bug 1559200 Opened 5 years ago Closed 5 months ago

Add explanatory text to about:cache that sizes are only for subset of entries

Categories

(Core :: Networking: Cache, task, P3)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox69 --- wontfix
firefox128 --- fixed

People

(Reporter: mayhemer, Assigned: sekim)

Details

(Keywords: good-first-bug, Whiteboard: [necko-triaged])

Attachments

(1 file)

No description provided.

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Severity: normal → S3
Keywords: good-first-bug

sizes are only for subset of entries

  1. Why is this the case, anyway? Exact phrasing might also be helpful here for good-first-bug purposes.
  2. Do we need to consult UX/UI on this kind of page?
  3. Should this only visible on about:cache?storage= or should it also be visible on about:cache?storage=disk and about:cache?storage=memory?
Flags: needinfo?(valentin.gosu)

(In reply to Ed Guloien [:edgul] from comment #3)

sizes are only for subset of entries

  1. 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.

  1. 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.

  1. Should this only visible on about:cache?storage= or should it also be visible on about:cache?storage=disk and about: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.

Flags: needinfo?(valentin.gosu)
Assignee: nobody → sekim
Status: NEW → ASSIGNED
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/fb915f29821a Add explanatory text to about:cache that sizes are only for subset of entries r=valentin,necko-reviewers,desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED

Backed out for causing xpcshell failures.

Status: RESOLVED → REOPENED
Flags: needinfo?(sekim)
Resolution: FIXED → ---
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/73c692f89a1f Add explanatory text to about:cache that sizes are only for subset of entries r=valentin,necko-reviewers,desktop-theme-reviewers

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.

Status: REOPENED → RESOLVED
Closed: 5 months ago5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Flags: needinfo?(sekim)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: