Service worker

وب 1 views

Persian equivalent سرویس‌ورکر

In plain language A service worker can handle some website requests in the background.

Short definition It runs separately from the page and can intercept and respond to eligible requests in its registration scope.

Detailed explanation and example

A web app can cache its offline screen and serve it when the network is unavailable. A service worker has no direct access to the page’s DOM.

Reference