Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to improve webview load time

I have a URL which I can load in webview. If I open the webview through browser it takes less time, but if I load the URL in webview it takes more time. Also if I have to reuse the same webview page with the same URL in another screen then I am unable to do that because if I use the same webview object in different screens then also it takes time to load the URL.

How do I make my webview to load a URL instantly?

like image 373
Sunil Kumar Sahoo Avatar asked Jun 02 '11 14:06

Sunil Kumar Sahoo


People also ask

Is WebView slow?

Using WebViews in your native application is very common these days but when it comes to performance, rendering of a WebView is quite slow. As most of the heavy lifting done by WebView is loading images.

What is alternative of WebView in Android?

Alternatives to WebView If you want to send users to a mobile site, build a progressive web app (PWA). If you want to display third-party web content, send an intent to installed web browsers. If you want to avoid leaving your app to open the browser, or if you want to customize the browser's UI, use Custom Tabs.


1 Answers

You could use the YSlow or Google PageLoad plugins for your browser, to get specific tips on how to improve page load and speed up your page.

like image 71
Stephanvs Avatar answered Nov 16 '22 01:11

Stephanvs