Friday, 30 May 2014

Re: reworked web search

On Fri, May 30, 2014 at 04:21:02PM +0100, Daniel Silverstone wrote:
> On Fri, May 30, 2014 at 15:59:50 +0100, Vincent Sanders wrote:
> > I am currently trying to figure how to stop the default icon fetch
> > overriding the correct provider image.
>
> How about not kicking off the fetch for the real image until the default icon
> fetch completes? It'll introduce a tiny delay but it also probably simplifies
> the logic.

Actually, its not that simple. the fetch for the default is started as
part of the serchweb init. The selection of default provider is not
done untill the frontend sets the provider from the configured
value. Both gtk and amiga do this when creating the initial browser
context.

In theory this creation/fetch is way later than the initialisation but
it seems the cache is now completing http fetches (when cache hits)
faster than a resource:default.ico fetch started sometime before can
complete!

>
> D.
>
> --
> Daniel Silverstone http://www.netsurf-browser.org/
> PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69
>
>

--
Regards Vincent
http://www.kyllikki.org/

No comments:

Post a Comment