[Webkit-unassigned] [Bug 175139] Network cache should be usable as non-singleton

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 4 09:40:12 PDT 2017


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

--- Comment #15 from Brady Eidson <beidson at apple.com> ---
(In reply to Sam Weinig from comment #4)
> 
> One thing that might make things a little nicer, though could be left for
> later, is to make the NetworkProcess object, which is a singleton, own the
> NetworkCache instance, any make accessing the singleton be via
> NetworkProcess::singleton()->diskCache() (or whatever).  

Actually we need to do better than that (and now we can) because it's faulty to only have a singleton network cache.

This is because the WebKit API now supports multiple persistent data stores, yet all NetworkResourceLoaders with persistent data stores share the same NetworkCache.

We need to have a map of sessionIDs to NetworkCaches (each pointing to a unique location on disk)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170804/792fd439/attachment-0001.html>


More information about the webkit-unassigned mailing list