Closed Bug 873107 Opened 11 years ago Closed 6 years ago

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

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: dhylands, Unassigned)

Details

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
Closed: 6 years 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.