July 2018
Intermediate to advanced
354 pages
8h 51m
English
The service worker sits between the browser and the network. By adding a fetch event handler, you can determine how the request is handled. All network requests pass through the service worker's fetch event handler:

This gives you a hook, or way to inject logic into the workflow, to intercept requests and determine how and where the response is returned.
With the service worker, you can do the following:
When the network fails, you can program the service worker to ...
Read now
Unlock full access