Use network tool and performance tool in browser's DevTools to find out what is causing the slow.
It should be possible to isolate whether network is slow or whether javascript is the cause
How can the loading speed of WebView2 be increased?
si zuo
20
Reputation points
In the official WebView2 example, WebView2APISample,
added code to debug output the time interval from the beginning of page loading to the completion of loading.
Loading the following two websites takes more than 10 seconds each, and the debug output is as follows:
2024-03-04 16:33:02013, Page load start URL:https://www.adobe.com/jp/creativecloud.html
2024-03-04 16:33:12909, NavigationCompleted
2024-03-04 16:33:27042, Page load start URL:https://onedrive.live.com/
2024-03-04 16:33:43468, NavigationCompleted
How can the loading speed of WebView2 be improved?
Windows development Windows API - Win32
2,782 questions
1 answer
Sort by: Most helpful
-
gekka 12,206 Reputation points MVP Volunteer Moderator
2024-03-05T00:28:04.11+00:00