Closed Bug 993178 Opened 11 years ago Closed 11 years ago

[tarako] Save icons to disk and add to appcache manifest

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2014-04-15

People

(Reporter: cvan, Assigned: cvan)

References

Details

(Keywords: perf, Whiteboard: [qa-])

Originally https://github.com/cvan/metropolis/issues/24 Right now I'm storing the icons as data URIs in the JSON [1] [2]. Instead, we should write them to the appcache manifest. If new apps become available, we need to incrementally add those icons to the appcache (using the Mozilla-specific `window.applicationCache.mozAdd` [3]). We should also remove the ones we don't need (`window.applicationCache.mozRemove`). [1] https://github.com/cvan/metropolis/wiki/Technical-Architecture [2] https://github.com/cvan/metropolis/blob/master/db-transformer.js [3] https://developer.mozilla.org/en-US/docs/nsIDOMOfflineResourceList
Blocks: 991241
Blocks: 993180
See Also: → 993180
Eventually, we'll want to probably put these in IndexedDB but this is good for now.
Whiteboard: [qa-]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Keywords: perf
Blocks: 992365
You need to log in before you can comment on or make changes to this bug.