In some use cases it would be nice to know when the service worker was registered. Especially, if the two other events (cached, updated) are not fired. This happens when the browser already has the newest assets stored in the cache.
In this case there is no possibility with this library to access the registration. With the new event, the registration gets passed immediately after the registration.
In some use cases it would be nice to know when the service worker was registered. Especially, if the two other events (cached, updated) are not fired. This happens when the browser already has the newest assets stored in the cache.
In this case there is no possibility with this library to access the registration. With the new event, the registration gets passed immediately after the registration.