[Webkit-unassigned] [Bug 147824] NetworkProcess: DNS prefetch happens in the Web Process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 5 09:14:06 PDT 2015


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

--- Comment #15 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 262440
  --> https://bugs.webkit.org/attachment.cgi?id=262440
Updated patch

View in context: https://bugs.webkit.org/attachment.cgi?id=262440&action=review

> Source/WebKit2/NetworkProcess/NetworkProcess.h:197
> +    HashSet<String> m_dnsPrefetchedHosts;

This HashSet grows indefinitely, and NetworkProcess can exist for weeks or even for months.

> Source/WebKit2/WebProcess/WebProcess.h:368
> +    HashSet<String> m_dnsPrefetchedHosts;

Is it OK to keep hosts here for a long time? I think that this may entirely disable the optimization of prefetching link hosts on hover - the hosts were already prefetched when loading, but the OS resolver may have well invalidated the cache already.

DNS prefetching is a really weird thing. We don't have any way to measure its effectiveness, which is not how we usually go about performance optimizations.

-- 
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/20151005/55babfc9/attachment.html>


More information about the webkit-unassigned mailing list