title: Prevent Android WebView caching data
body: <p>Is it possible to prevent a WebView from caching data in /data/data/???/cache/webViewCache? I've set the following on the WebSettings but the cache folder is still used:</p>
  
  <pre><code>webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
  webSettings.setAppCacheEnabled(false);
  </code></pre>
  
  <p>I've noticed that the cache files are deleted on application exit or when the application goes into the background but I'd prefer for them not to be created at all. Furthermore I'd like to prevent the use of the webview.db &amp; webviewCache.db found in /data/data/???/database. I currently delete the databases like so:</p>
  
  <pre><code>context.deleteDatabase("webview.db");
  context.deleteDatabase("webviewCache.db");
  </code></pre>
  
  <p>This appears to have the desired effect and the files don't appear to be recreated again for use. Is it safe to assume this is the case?</p>