Monaca Onsen UI Discord Chat Github Repo

Update index.html when load app



  • Hi

    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!



  • 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!!