Web App Refresh


When does an App refresh from the server? After creating a new release, sometimes my phone seems to do it immediately, other times it might be a day later (I’m not using Volt). Is there a setting on an iPhone to force immediate updates (ie. every time an App is run)? I have two iPhones - many times one will run the latest release and the other will keep running the old release for a day.


The mechanism is built into Safari and Chrome - we have no direct control of it.

When the app is started, the browser compares its cached version of the manifest with one it downloads from the server. If they are different, a refresh is triggered. To make sure they are different, we write a time stamp as a comment in the last line of the manifest. (Usually named OfflineApp.appcache).

If the app is unable to get the manifest from the server, no update is performed.