I'd like to pre-load WebView's cache with a webpage from the internet. This would need to be done asynchronously and hidden as to not disturb other UI interactions. The purpose of the pre-load is to avoid subsequent network calls if the WebView is presented by way of optional button click (ultimately for speedier display).
The webpage contains Javascript and AJAX so I don't think pre-loading the cache using something like HttpClient would work. I also looked at using WebView's loadUrl() in an AsyncTask but I am seeing this conflicts with the main UI thread.
Has anyone with a similar situation found a way to accomplish the background pre-loading/caching?