When you loaded from the saved files, it still probably had to resolve the server to load extraneous graphics and java applets, etc. When you test, you should make sure you're loading a static HTML file that doesn't have to resolve anything to the server. There shouldn't be any paths in the file pointing to the internet. It would be best to have access to a server so you can load a text file and load that from disk and the Internet. Otherwise you're comparing apples to oranges.
Dave --- On Fri, 7/2/10, David Smith <djsmith_1...@yahoo.com> wrote: From: David Smith <djsmith_1...@yahoo.com> Subject: Re: [advanced_delphi] Re: TWebbrowser slow to load from disk To: advanced_delphi@yahoogroups.com Date: Friday, July 2, 2010, 5:15 PM Hmmm... you must have worked for Microsoft tech support at one point, Dave. Bob, Try loading an HTML file, instead of an MHT file. the other Dave --- On Fri, 7/2/10, David <burkl...@yahoo. com> wrote: From: David <burkl...@yahoo. com> Subject: [advanced_delphi] Re: TWebbrowser slow to load from disk To: advanced_delphi@ yahoogroups. com Date: Friday, July 2, 2010, 1:44 PM Have you run the tests with your anti-virus software disabled "temporarily" ? (some are better than others and not everyone has the same. food for thought.) David --- In advanced_delphi@ yahoogroups. com, Bob Stanton <stan...@...> wrote: > > I have tried, but the result is the same > > Bob > > On Fri, Jul 2, 2010 at 10:42 AM, David Smith <djsmith_1998@ ...> wrote: > > > > > > > When you loaded from the Internet, the ActiveX component was already loaded > > but when you loaded from disk, the ActiveX component had to be loaded first. > > Try loading from disk, loading from the Internet, then loading from disk > > again and see if it loads from disk faster the 2nd time. > > > > Dave > > > > --- On *Thu, 7/1/10, heromed <stan...@...>* wrote: > > > > > > From: heromed <stan...@...> > > Subject: [advanced_delphi] TWebbrowser slow to load from disk > > To: advanced_delphi@ yahoogroups. com > > Date: Thursday, July 1, 2010, 5:00 PM > > > > > > > > > > The TWebbrowser AxtiveX component is twice as slow to load from disk, then > > when it loads from the Internet. > > > > I have tested this with the cache emptied each time. The New York Times Web > > Page loaded in 5 seconds from the Internet, when loaded from a saved MHT > > file it took 10 seconds, and when loaded from a saved HTM file it took 23 > > seconds. > > > > Does anybody knows the reason for this, or how to improve the loading time > > from disk ? > > > > > > > > >