DEV Community

Discussion on: Explain Service Workers like I'm five

Collapse
 
damcosset profile image
Damien Cosset

How are resources distributed between the background and the foreground? I'm not sure if this is a relevant question, but we fork something from the foreground, this means that something isn't available anymore?

What is the tradeoff in using a service worker? I gain something by letting someone else handle the cash register, but what am I losing?