[Webkit-unassigned] [Bug 69705] New: [Soup] The Soup backend should communicate per-request cache preferences to the SoupCache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 8 11:35:27 PDT 2011


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

           Summary: [Soup] The Soup backend should communicate per-request
                    cache preferences to the SoupCache
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrobinson at webkit.org
                CC: danw at gnome.org, svillar at igalia.com


Each request from WebKit land has a cache policy. The possible cache policies are defined in ResourceRequestBase.h. They are:


    enum ResourceRequestCachePolicy {
        UseProtocolCachePolicy, // normal load
        ReloadIgnoringCacheData, // reload
        ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale data
        ReturnCacheDataDontLoad  // results of a post - allow stale data and only use cache
    };

These map directly to NSURLRequestCachePolicy from Cocoa land: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSURLRequest_Class/Reference/Reference.html

In practical terms, this means that when a user in Epiphany holds shift and clicks the reload button, not only will the request skip in the in-memory cache, it will also skip the disk cache.

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