And now I am totally lost !

I have tried and removed my Virus checker, but it made no difference. Same
result 5sec from the net, 10sec from MHT, 25sec fgrom HTM.

Then I unplugged (literally) my Internet (cable) connection which resulted
in the following:

The browser did not load from the MHT file at all.

The HTM file was loaded within a second, which is what I would expect
rendering from a disk file, although the DocumentComplete did not fire.

The whole object of this excersize is to load web pages from disk. It seems
that the method of saving and loading web pages from disk is at best a
pretty crummy implementation.

By now I have tried all different method of saving web pages, directly from
the net WITHOUT a web browser (as an MHT), which works OK but does not
download the complete page (it seems the style sheets are missing).

I tried using IE explorer(V8) to save the page as an MHT file which works
perfectly, but the load time from disk is prohibitively slow.

Have I missed something, or would  I have to pursuing this project?

Bob





On Sat, Jul 3, 2010 at 10:31 AM, David Smith <djsmith_1...@yahoo.com> wrote:

>
>
> 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 ?
> > >
> > >
> > >
> > >
> >
>
>
>
>  
>

Reply via email to