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)

x86
macOS
defect

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.
Depends on: 1001123, 1001125
See Also: → 1001782
Assignee: kngo → charmston
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
Blocks: 992365
You need to log in before you can comment on or make changes to this bug.