Would be great if files could be cached also. Have investigated a few options such as file-api, indexeddb and webworkers although all seem a bit limited. Tried integrating directly into service workers but failed. Suggest revisit as part of usb distribution version (with files already available) or electron desktop.
Would be great if files could be cached also. Have investigated a few options such as file-api, indexeddb and webworkers although all seem a bit limited. Tried integrating directly into service workers but failed. Suggest revisit as part of usb distribution version (with files already available) or electron desktop.
A couple links: https://medium.com/@philipp.schaechtele/asset-caching-with-service-worker-c40dcda43842
https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa
https://gist.github.com/Rich-Harris/fd6c3c73e6e707e312d7c5d7d0f3b2f9
https://github.com/GoogleChromeLabs/sw-precache