Service workers are a new browser technology which allow you to proxy network requests. Essentially this means intercepting requests and returning a response depending on some logic you want in place.