使用Android 4.4.2的Nexus 7(ME370T)上的WebView加载长URL非常慢。例如,下面的URL可以在84s中加载,但可能根本不加载(WebView只挂起空白页)。这个问题有解决方法吗?
webView.loadUrl("https://www.google.com/#q=some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this+some+this");
[编辑]
页面加载速度不稳定,它不依赖于URL长度,它确实依赖于scheme - http加载速度比https快。
另一件事:我有另一台带有4.3的Nexus 7并立即加载页面。
[编辑]
看起来运行4.4.2的Nexus 7对Wi-Fi质量非常敏感。我白天有很多活跃的Wi-Fi网络,WebView加载页面需要大约5分钟(或者根本不加载它),但是当我在夜间尝试时 - 页面会在5s内打开。几乎就像4.3