This recipe shows a Service Worker containing network logic to dynamically select the best content provider accordingly to server availability.
Intermediate
As a service provider, I want to provide the best source in terms of availability for a selected resource.
Use a Service Worker to intercept the requests to the resources and select the proper content provider accordingly to their availability.
Beyond Offline