ubports / morph-browser

Moved to https://gitlab.com/ubports/core/morph-browser
https://gitlab.com/ubports/core/morph-browser
GNU General Public License v3.0
45 stars 35 forks source link

Support offline mode via service worker API #514

Open timsueberkrueb opened 3 years ago

timsueberkrueb commented 3 years ago

Some progressive webapps cache their assets using service workers and can thereby work offline. What would be needed to implement this feature in Morph and/or the webapp-container? After a quick web search I didn't find any related functionality being exposed in the QtWebEngine API so I don't know how feasible this is at the moment. If you have more information on this, please let me know. Thanks!

mateosalta commented 3 years ago

it should work I tried it on some webapps, try it out with the pokedex, or offline wiki pwa's

mateosalta commented 3 years ago

or are you trying to have webapps that don't have the service worker cache data?

timsueberkrueb commented 3 years ago

Thanks, will check :+1: