Spinning up a service worker for every navigation can be expensive. For the service worker fetch event there is a static routing API to make it possible to skip running the service worker depending on certain routing rules. We should consider if we need something similar for launch events as well. Either some kind of include/exclude pattern in the manifest or a similar route matching API at service worker install time.
Spinning up a service worker for every navigation can be expensive. For the service worker fetch event there is a static routing API to make it possible to skip running the service worker depending on certain routing rules. We should consider if we need something similar for launch events as well. Either some kind of include/exclude pattern in the manifest or a similar route matching API at service worker install time.