android – Blocking WebView cache

Question:

I'm building a WebApp, and use a WebView to open a specific url inside the app! But the app is storing everything in cache, so if I make any changes to the site, the app doesn't "compute" this update, as it reuses all the information that is in the cache!

How to block this cache? Which, I believe, is being generated by the WebView.

The WebApp platform is android.

Answer:

Try disabling caching like this:

mWebView.getSettings().setAppCacheEnabled(false);  
Scroll to Top