3 ms·
The service worker spec was deliberately designed to give the browser, not the site, control over resource consumption. The browser is permitted and encouraged
by rictic 9y ago
The service worker spec was deliberately designed to give the browser, not the site, control over resource consumption. The browser is permitted and encouraged to keep them on a tight leash on behalf of the user's experience. See e.g. https://github.com/w3c/ServiceWorker/blob/master/implementation_considerations.md#event-driven-workers https://github.com/w3c/ServiceWorker/blob/master/implementat...