I've created a web app and placed it on our intranet web server. If an iPad loads the app while on the intranet network, the app works. If I turn on airplane mode, the app works in offline mode.
However, I believe (and I don't have a debugger to test), if the iPad then connects to the internet, the app tries to access the cache manifest as it sees it is connected to a network, but the manifest request returns a 404 as it isn't on the intranet. The appcache is then discarded and the application stops functioning.
If what I'm saying is correct, is there some way to mitigate the appcache from being discarded when the manifest returns a 404?
Thanks,
Chris