Service Workers
E203897
Service Workers are background scripts in web browsers that enable offline capabilities, caching, and push notifications for web applications.
All labels observed (8)
| Label | Occurrences |
|---|---|
| Service Workers canonical | 10 |
| Service Workers API | 2 |
| Service Workers specification | 2 |
| Service Worker API | 1 |
| Service Workers W3C specification | 1 |
| Service worker (conceptually related but separate API) | 1 |
| Service workers | 1 |
| ServiceWorkerGlobalScope | 1 |
Statements (55)
| Predicate | Object |
|---|---|
| instanceOf |
Background script
ⓘ
JavaScript API ⓘ Web technology ⓘ |
| browserSupport |
Google Chrome
ⓘ
Microsoft Edge ⓘ Mozilla Firefox ⓘ Safari ⓘ |
| cannotAccess | DOM directly ⓘ |
| communicatesWith | Pages via postMessage ⓘ |
| definedInSpecification |
Service Workers
self-linksurface differs
ⓘ
surface form:
Service Workers W3C specification
|
| enablesFeature |
Background sync
ⓘ
Caching of network requests ⓘ Custom caching strategies ⓘ Network request interception ⓘ Offline capabilities ⓘ Progressive Web App installability support ⓘ Push notifications ⓘ Reliable performance on flaky networks ⓘ |
| executionModel |
Can be terminated and restarted by browser
ⓘ
Event-driven ⓘ |
| hasGlobalObject | self (ServiceWorkerGlobalScope) ⓘ |
| introducedBy | Google Chrome team ⓘ |
| languageUsed | JavaScript ⓘ |
| lifecycleStage |
activated
ⓘ
activating ⓘ installed ⓘ parsed ⓘ redundant ⓘ |
| originPolicy | Same-origin policy applies ⓘ |
| partOf | Progressive Web App technology stack ⓘ |
| registeredVia | navigator.serviceWorker.register() ⓘ |
| registrationLimit | One active service worker per scope ⓘ |
| relatedConcept |
Progressive Web Apps
ⓘ
surface form:
App Shell architecture
Progressive Web Apps ⓘ
surface form:
Progressive Web App
Web workers ⓘ
surface form:
Web Worker
|
| runsInContext |
Web browser
ⓘ
Worker context ⓘ |
| scopeDefinedBy | URL path at registration time ⓘ |
| securityRequirement |
HTTPS
ⓘ
Secure context ⓘ |
| standardizedBy |
World Wide Web Consortium
ⓘ
surface form:
W3C
|
| supportsEvent |
activate
ⓘ
fetch ⓘ install ⓘ message ⓘ push ⓘ sync ⓘ |
| usedFor |
Building Progressive Web Apps
ⓘ
Implementing offline-first experiences ⓘ Improving web app reliability ⓘ Reducing network usage ⓘ |
| usesAPI |
Background Sync API
ⓘ
Cache Storage API ⓘ Web APIs ⓘ
surface form:
Fetch API
Push API ⓘ |
Referenced by (19)
Full triples — surface form annotated when it differs from this entity's canonical label.
subject surface form:
Notifications API
subject surface form:
Notifications API
this entity surface form:
Service Workers specification
subject surface form:
Blink
subject surface form:
Service Worker
this entity surface form:
Service Workers W3C specification
this entity surface form:
Service Workers specification
this entity surface form:
Service workers
this entity surface form:
ServiceWorkerGlobalScope
this entity surface form:
Service worker (conceptually related but separate API)
subject surface form:
Gecko
this entity surface form:
Service Worker API