[Webkit-unassigned] [Bug 144251] New: [SOUP] Use xattrs to get/set the creation time of disk cache files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 27 01:16:39 PDT 2015


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

            Bug ID: 144251
           Summary: [SOUP] Use xattrs to get/set the creation time of disk
                    cache files
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk, Soup
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: danw at gnome.org, gns at gnome.org, koivisto at iki.fi,
                    svillar at igalia.com, zan at falconsigh.net
            Blocks: 142821

The network process disk cache uses the creation time to compute a worth value used to determine the order in which cached resources are deleted when the cache is shrunk. In some operating systems like Linux there's no st_birthtime in struct stat, but since cache files are always created and deleted by us, we could use a custom xattr to store and retrieve the creation time of cached resources.

-- 
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/20150427/f902e768/attachment.html>


More information about the webkit-unassigned mailing list