4

I have developed a web application that runs on Android and iOS. Does the webview cache the pages in some way? I am making changes to the html at the server, but it changes randomly, it does not always change. Is this correct behaviour? I thought it should look at the HTTP header and see that it has been modified.

LuckyLuke
  • 47,771
  • 85
  • 270
  • 434
  • Have a look at [this][1], It might help you. [1]: http://stackoverflow.com/questions/1790254/how-to-empty-cache-for-webview Regards – MrWaqasAhmed May 10 '12 at 06:59

1 Answers1

0

There's definitely caching happening in UIWebView's on iOS. I wasn't able to find any reasonable solution (headers, etc.) when I came across the problem. We ended up renaming files server-side in order to trick it into de-caching things.

Sam
  • 1,504
  • 2
  • 13
  • 19