Closed
Bug 1170111
Opened 9 years ago
Closed 9 years ago
[ServiceWorkers] Check virtual list and model caching
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
FIXED
FxOS-S1 (26Jun)
People
(Reporter: arcturus, Assigned: arcturus)
References
Details
We need to explore how the new virtual list: https://github.com/etiennesegonzac/dom-scheduler Can use a pregenerated model vial cached content in the service worker (old way of using render cache)
Assignee | ||
Updated•9 years ago
|
Blocks: nga-toolkit-service-workers
Updated•9 years ago
|
Whiteboard: [s3]
Updated•9 years ago
|
Target Milestone: --- → NGA S2 (12Jun)
Updated•9 years ago
|
Assignee: nobody → francisco
Status: NEW → ASSIGNED
Assignee | ||
Updated•9 years ago
|
Whiteboard: [s3]
Target Milestone: NGA S2 (12Jun) → NGA S3 (26Jun)
Assignee | ||
Comment 1•9 years ago
|
||
POC with the virtual list and caching via sw: https://github.com/arcturus/dom-scheduler/tree/contacts-sw-cache The way we use the render cache here is that we create a /model.json file that contains the first chunk to be render and the number of contacts. That's the information that the list needs to do a quick first paint. Will try another approach that is to save the information in the own index.html
Assignee | ||
Comment 2•9 years ago
|
||
Interesting results ahead: - First paint packaged ~ 960 ms - First paint with SW ~ 1100 ms (The SW serving is increasing the time) - First paint with SW and Cache ~ 1000 ms (We save a bit but not much) Will need to explore if the code added to cache, or the need of an extra request is what is not making us have a huge gain in the performance.
Updated•9 years ago
|
Target Milestone: NGA S3 (26Jun) → FxOS-S1 (26Jun)
Assignee | ||
Comment 3•9 years ago
|
||
Closing this as fixed, since several tests have been done. https://github.com/arcturus/dom-scheduler/tree/contacts-test https://github.com/arcturus/dom-scheduler/tree/contacts-sw-cache We need to check now the performance for SW and raw cache.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•