[Webkit-unassigned] [Bug 167415] Avoid evicting link preload resources when parsing is done.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 27 00:54:08 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=167415

--- Comment #22 from Yoav Weiss <yoav at yoav.ws> ---
(In reply to comment #21)
> (In reply to comment #20)
> > Comment on attachment 299837 [details]
> > Patch
> > 
> > I guess an alternative would be to restrict m_preloads to speculative
> > preloads only.
> > Can we do that?
> 
> We probably could, but that would probably mean duplicating the existing
> mechanisms that relate to m_preloads, or generalize them so that they can be
> applied to two separate lists. Do you think such a separation would be
> valuable enough to justify that?

When I think about it some more, there are many cases where the same resource would end up in both lists, which will require deletion from one container before adding to the other. That's likely to add complexity, replace the simple list by maps, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170127/81038884/attachment.html>


More information about the webkit-unassigned mailing list