[Webkit-unassigned] [Bug 104782] [EFL][WK2] Implement ewk_context_cache_clear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 12 02:37:02 PST 2012


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





--- Comment #3 from Joone Hur <joone at webkit.org>  2012-12-12 02:39:24 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > ewk_context_cache_clear is a very vague name? What cache are we talking about? page cache, http cache, etc; there are lots of caches around
> 
> In this particular case we're talking about the HTTP cache.

Yes, this API will call the following method:

void WebProcess::platformClearResourceCaches(ResourceCachesToClear cachesToClear)
{
    if (cachesToClear == InMemoryResourceCachesOnly)
        return;

    SoupSession* session = WebCore::ResourceHandle::defaultSession();
    soup_cache_clear(SOUP_CACHE(soup_session_get_feature(session, SOUP_TYPE_CACHE)));
}

The API name is very vague, but WebKitGtk+ also has the same API.
void webkit_web_context_clear_cache(WebKitWebContext* context)

Anyway, we can use ewk_context_http_cache_clear, which is more explicit.

-- 
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