Closed
Bug 993178
Opened 9 years ago
Closed 9 years ago
[tarako] Save icons to disk and add to appcache manifest
Categories
(Marketplace Graveyard :: Consumer Pages, defect)
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
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
Eventually, we'll want to probably put these in IndexedDB but this is good for now.
Whiteboard: [qa-]
Assignee | ||
Comment 2•9 years ago
|
||
https://github.com/mozilla/maschinenmensch/commit/c94d0a6
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•