I can’t seem to get, especially css-files, to refresh in my iPhone web-app (added to home screen) as I update the files on the server.
I have tried…
*Clear history (in settings)
*Clear cache (in settings)
*Force closing and restarting the app
*Restarting the iPhone
It just randomly refreshes the files after a few tries.. very annoying.
Yep I have the same issue. the only thing I have found that works is renaming the files (and changing the links to those files), which is s brute force solution to say the least, leaving aside that in my case, since a lot of the files are added via php and the template frame work, a massive, massive pain in the ass.
Apparently using a manifest will help, but I have read that this actually doesn’t solve the issue permanently as those files get cached aswell after the first time.
Apple really need to sort this as it makes developing, deploying and updating web apps un-necessarily laborious, since you should be able to update a css file without having to rename it in order for it to get refreshed. I appreciate the need for caching, but surely removing the web app entirely should remove the cache aswell- It seems a totally inefficient use of phone space to store a bunch of css files that no app is using.
Will post a better answer of I find one…
UPDATE This seems to be fixed in the latest version of iOS5 🙂