Update index.html when load app
Artivain last edited by
I want to create an app that updates content when it’s open if internet is available. Otherwise, I want to show last downloaded version.
I just need to update myApp/www/index.html
I can use a server to host the last file.
Is that possible? Please help me!
jonathanburnhill last edited by
I think you need a service worker mate.
Make sure it goes to the network either first or after otherwise you will look yourself out!!