Begin to implement IndexedDB logic in Service Worker