I have been writing webapps with NSB for some time now. Most were for phones.
When I made an update to the app, the phone would refresh the webpage cache without issue. I never really paid much attention to it.
But, lately, I have been writing PC ‘browser’ webapps. I have found that the computer browsers are much more finicky about updating their webpage cache.
To overcome this, I index the code.js filename with each update. For example, I will rename it to code1.js. Then I have to change the name in the html file and also in the manifest file. When I do this, the browsers then update the webpage cache.
I thought the appcache buildtime would tell browser to update the webpage when the app was updated. But, it seems to be ignored, at least by my browsers…
Maybe there’s a simpler way to force the browser to update its cache when the webapp has been updated?
Thanks in advanced. Rodney Wirtz