Sanalda.comBETA

What is a service worker?

Added: 24 October 2026

A service worker is a browser worker responding to background events and mediating some page requests. It is not a permanently running server.

How it works and where it is used

1. How it works Registration, installation and activation precede fetch handling. The browser may stop the worker between events, so global memory is not durable storage. 2. Applications and examples Offline pages, asset caching and supported notifications are common uses. It can enhance a PWA but is not required for every site.

Limits and good practice

3. Limitations and security Bad cache rules can expose private content, serve stale pages or hide updates. HTTPS and correct scope matter; it does not repair app permissions. 4. Practical considerations Plan cache versions and cleanup, test offline and first-install behavior, and monitor activation and rollback.

Related topics

What is two-factor authentication?What is a database index?TechnologyWhat is a data pipeline?What is API versioning?What is a CDN?What is open-source software?What is retrieval-augmented generation?What is WebSocket?What is 5G?What are USB and USB-C?What are internet cookies?What is NFC?What is a lithium-ion battery?What is computer hardware?What is load balancing?What is a photovoltaic solar panel?What is CORS?What is model fine-tuning?What is a QR code?What is Bluetooth?Zero trust architectureWhat is a webhook?What is serverless computing?Domain nameWhat is a passkey?What is cybersecurity?What is UDP?What is Kubernetes?What is TCP?What are Git and version control?What is a central processing unit (CPU)?What is cloud computing?What is software supply chain security?What is a web browser?What is observability?Artificial intelligenceWhat is HTTP?What is the internet?What is DevOps?What is public key infrastructure?What is natural language processing?What is an algorithm?What is data encryption?What is deep learning?What is data backup?What is the Internet of Things (IoT)?What is edge computing?What is OAuth 2.0?What is machine learning?
Revision history

24 October 2026 — Article added.