This recipe shows a service worker acting like a remote server.
Perform API usage logging without interfering with the UI layer by adding a service worker to gather the usage and use the sync API to upload gathered data from time to time.
This recipe shows a Service Worker containing network logic to dynamically select the best content provider accordingly to server availability.
This recipe illustrates how to cache contents from a zipfile.
This recipe shows how a Service Worker can act as a dependency injector, avoiding hard wiring dependencies for high level components.
This recipe shows how to enqueue requests while in offline in an outbox-like buffer to perform the operations once the connection is regained.
Has it been useful?
Tell us what you think of this recipe by leaving a comment!