Slide 17
Slide 17 text
What is a service worker?
• Script that runs in the background
• Useful for features with no user interaction, e.g.:
• listen to push events, useful for pushing notifications
• intercept and handle network requests
• future:
• background sync
• alarms (e.g. reminders)
• geofencing
• A progressive enhancement
• Trusted origins only (HTTPS, localhost)
• Chrome, Opera, and Firefox stable