Persisting Service Workers

preview_player
Показать описание
Learn how to keep service workers alive for longer than 30 seconds using the Runtime API and long-lived connections.

Become a Better Developer

My Software

Download Code

⌛ Timestamps
0:00 - Introduction
0:13 - Service Worker Lifecycle
0:48 - Service Worker 30 Second Timer
1:24 - Prolonging the Service Worker
3:03 - Issues with this Approach
3:13 - Outro
Рекомендации по теме
Комментарии
Автор

Thanks for the example!
One thing to note is that if you are monitoring the console of the service worker, then the service worker will not go inactive. That is another trick to keep service worker active.

Apple
Автор

Man you seriously have to find different angle to record your self, or pick a smaller mic

imranplasto
Автор

No offence bro, but you are looking kinda like darth vaider with that angle, really need to change that

creative.kuldeep