[Webkit-unassigned] [Bug 78510] [WK2] Implement WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 00:27:20 PST 2012


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





--- Comment #2 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-02-14 00:27:20 PST ---
We want to provide a web_view_get_subresources() API similar to WebKit1, typically used to implement save(). Resources are cached by the web view and released before every load. When reloading, cached resources are still loaded (with 304 http response), but when loading the same url twice, resources in memory are not loaded at all. In this case, we release the resources cached by the web view before the second load, and the view only sees the resources that are not in memory. So the effect is basically: 

loadURI(http://foo.com)
n_resources1 = getResources().size()
loadURI(http://foo.com)
n_resources2 = getResources().size()

n_resources1 != n_resources2

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list