Rank: Newbie Groups: Member
Joined: 2/18/2022 Posts: 8
|
Hello, I'm using EO.WebBrowser.WebView. When I load this page with LoadHtml I've noticed that if I use <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> in the head section the page loads much faster than when it's not there. I'ts normal? Is there any other option to try to make it faster? Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
"X-UA-Compatible" is an IE specific header entry and when you set "chrome=1" it instructs IE to load the page through "Google Chrome Frame" plugin, which basically redirects the page to be rendered by Google Chrome.
This plugin has been disconnected many years ago so you should no longer use it. It may still have some "left over" in Chromium code so when you set "chrome=1" it could redirect the page to be rendered by the Google Chrome browser on your computer instead. This would bypass EO.WebBrowser's WebView entirely.
Since EO.WebBrowser uses the same Chromium browser engine as Google Chrome, it should have similar performance. However EO.WebBrowser can take longer to initialize due to the fact that the browser engine code is compressed and embedded inside EO.WebEngine.dll. So it is possible that you notice a siginficant delay when you call LoadHtml for the same first. However subsequent load should be faster.
In any case, you should not use this header entry any more since not only the underlying plugin has been discontinued many years ago, but also would "take over" the page and may cause problems in many other features.
Thanks!
|