DeviceStorage used cache is invalidated more frequently than it needs to be

RESOLVED INCOMPLETE

Status

()

Core
DOM: Device Interfaces
RESOLVED INCOMPLETE
5 years ago
7 months ago

People

(Reporter: dhylands, Unassigned)

Tracking

Trunk
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Marco noticed in bug 872800 comment 10 that we invalidate the used space cache every time we receive a volume state change notification.

Its entirely possible to get back-to-back state change notifications which aren't really different, so if we were to store the previous state, then we could avoid invalidating the cache.

Personally, I think that this is a very minor optimization, since the duplicate state changes tend to come in a bursts, but I said I'd file a followup bug, so here it is.
FxOS/Gonk has been removed from the codebase. Mass-invalidating FxOS related Device Interface bugs to clean up the component. 

If I incorrectly invalidated something, please let me know.
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → INVALID
Bulk correction of resolution of B2G bugs to INCOMPLETE.
Resolution: INVALID → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.