Closed Bug 1161506 Opened 9 years ago Closed 9 years ago

[ServiceWorkers] Study/Integrate threads.js with sw

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arcturus, Assigned: arcturus)

References

Details

(Whiteboard: [s1])

We have created some middleware layers that communicate using either BC api or even http verbs.

We should study and try to integrate thread.js library to communicate with the service worker.
Assignee: nobody → francisco
After some work done here are the conclusions:


- Some md developed to test it out:https://github.com/arcturus/sww-render-cache
- With current status of threads.js we cannot use it with SW since it uses BroadcastChannel api for communication and the SW could be killed in any moment.
- Filled bug https://github.com/gaia-components/threads/issues/34 to address this issue.

In the meanwhile we can keep using the raw-cache concept: https://github.com/arcturus/sww-raw-cache for the render cache, since now all the requests payloads are being handled by nightly correctly.
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.