Closed
Bug 1001780
Opened 11 years ago
Closed 11 years ago
[tarako] enable asynchronous update of cached data when user is online
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ddurst, Assigned: chuck)
References
Details
(Keywords: perf)
For the cached data in bug 1001779, we need to asynchronously update those when the user is online.
Given the packaged app nature of it, one idea has been to ship with a JSON file, read that and cache the data in indexedDB/localstorage.
May be best to pair up on this and bug 1001779.
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Assignee: kngo → charmston
Comment 1•11 years ago
|
||
Chuck's db module fetches from API + localforage at the same time. The results of the first request to finish is returned, and the API stores into localforage in the background
https://github.com/mozilla/yogafire/commit/992debfe363dcec1348ed154defc8ca3d95d4bde
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•