Working with Live Data in the Service Worker

Working with Live Data in the Service Worker


2 thoughts on “Working with Live Data in the Service Worker

  • 1:42 Correct me if I'm wrong but shouldn't createDB return a productsDB, otherwise event.waitUntil won't wait (no promise to wait for).

  • Concerning "Re-send recorded requests" , how do the service worker knows that connectivity is back on so he can send out what has been saved in indexed db.
    I'm currently using background sync event to achieve that, unfortunatly it's only usable on chrome by now.
    Thanks

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2019 Toneatronic. All rights reserved.