title: How to disable the cache in cordova android app
body: <p>I had used the Cordova 3.6.3 version for building my android app and i wnat to disable the caching of URL in cordova webview , I am using the default cordova project for that purpose and using the index.html file.
  I tried this but it is crashing my app   </p>
  
  <pre><code>public class MyClass extends CordovaActivity
  {
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
     setContentView(R.layout.main);
      mwebview=(WebView) findViewById(R.id.appView);
      WebSettings ws=mwebview.getSettings();
      ws.setAppCacheEnabled(false);
      ws.setCacheMode(WebSettings.LOAD_NO_CACHE);
      // Set by &lt;content src="index.html" /&gt; in config.xml
      loadUrl(launchUrl);
      }
  }
  </code></pre>