Talk in English - UK at jsDay 2017
View Slides: https://slidr.io/philnash/browsers-behind-your-back-at-jsday#1
Checkout the code: https://github.com/philnash/sms-messages-app/tree/background-sync
Checkout the code: https://www.twilio.com/blog/2017/02/send-messages-when-youre-back-online-with-service-workers-and-background-sync.html
Short URL: https://joind.in/talk/13209 (QR-Code (opens in new window))
You've probably heard of the magic of a Service Worker when a user is offline, but what can we do for them when they get back online?
We can take advantage of the Service Worker's life outside of the page and start to perform actions in the background.
In this talk we'll investigate the Background Sync API and the APIs that it depends upon, we'll look at what you might use it for and see it in action. Once that is behind us we can take a peek into the future and even more background tasks with a look at the Periodic Sync API.