Achieving Native-like Speed
summary
Claims a >100% speedup overall by combining three tactics: resource preloading (zip bundles served from local storage for important pages, real-world use limited to a few critical pages to avoid bandwidth/disk bloat), real-time preloading (fetch HTML at WebView startup, parse subresource URLs, then parallel-request them yields ~6–80% improvement), and a native worker (QuickJS) that runs page data-fetch logic off-main-thread so data wait drops to near zero. Warm-reuse WebView pooling is attempted but causes OOM/stability so it’s not rolled out; AndroidX async WebView is awaited.
AI-written summary · about
chapters (9)
- 0:00Android WebView performance intro
- 1:50What is WebView and use cases
- 4:45Slow WebView initialization
- 9:03Slow resource loading
- 13:47Optimizing resource preloading
- 20:38Slow JavaScript execution
- 22:27Data pre-fetching techniques
- 33:23WebView performance summary
- 35:19Q&A on prefetching
related talks
46mWeb Performance in 2018
23mSupercharged WebView Observability
40mJS performance in mobile web and hybrid apps… because science!
28mThe Browser Hackers Guide To Instantly Loading Everything
30mWeb runtime performance
01h 03mSpeed up your Web Application
21mJavaScript, React Native and Performance
29mBringing Mobile Web back to Life
