network proxy
A program that sits between a client and the network, receiving requests and deciding how to answer or forward them.
In more detail
Proxies can cache, rewrite, block or log the traffic that passes through them. A service worker is a proxy inside the browser: every request from its pages passes through its fetch event handler.
Related terms
- service worker — A script the browser runs in the background, separate from pages, that can intercept a site's network requests and act as a programmable proxy.
- fetch event — The event a service worker receives for every request its pages make, which it can answer with event.respondWith().
Taught in
- Service Worker Lifecycle: Installation, Activation And Update — Frontend Architecture & Web Platform