When I load the following page in IE9 on Windows 7 then it loads fine. But when I load the same page in WebBrowser control in C#, it takes 10+ seconds to load. Why is that?
http://www.edu.gov.on.ca/eng/sift/index.asp
I am simply using webbrowser.Navigate with this URL as parameter.
EDIT
Ok after little investigation I found out that it could be due to page size. The combined page size with images and scripts (when I save it in IE9 as “File –> Save As”) becomes 596KB.
But if WebBrowser itself is actually IE9 then why loading in IE9 is faster but in WebBrowser control is slower?
It’s taking about 12 secs on Chrome, IE, Firefox, Safari and Opera here. Tested right now.
Are you 100% sure that there is no caching on the way?
Propably your IE is caching pages (Temporary Internet Files) and the C# WebBrowser is not using that cache, though I’ve never used this control to say it for sure…
All tests here were made with a clean cache, so it will always fetch the whole page from the server.
I’m testing this from Brazil using two ISP links (10Mbps 10% guarantee coaxial + 1Mbps 50% guarantee fiber).