Android Webview caching works in version 4.0.x but not in 2.3.3
<p>I am facing a very strange issue. My jquery webview works offline in browsers and in <code>android version 4.0.x</code>. However, it does no work offline in lower versions. </p>

<p>Code for setting cache mode :</p>

<pre><code>if(isConnected) {
    webView.getSettings().setCacheMode(WebSettings.LOAD_DEFAULT);
} else {
    webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ONLY);
}
</code></pre>
