How to clear the cache of a UIWebView?
I am making a simple application (with only three buttons (back, forward, refresh) and a UIWebView) and I realized that in my Documents & Data iPhone gets a very high value of Cache. I already looked at various documents and posts (even here at StackOverflow) but none solved the problem. If you need lines of codes, ask.
This would remove a cached response for a specific request. There is also a call that will remove all cached responses for all requests ran on the UIWebView:
After that, you can try deleting any associated cookies with the UIWebView:
its so simple