[Webkit-unassigned] [Bug 169274] New: [link preload] Double downloads of preloaded CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 7 05:22:49 PST 2017


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

            Bug ID: 169274
           Summary: [link preload] Double downloads of preloaded CSS
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yoav at yoav.ws
                CC: beidson at apple.com

Following STP's exposure of preload as an experimental feature, I got a report[1] saying that we're double-downloading CSS in some cases.

Looking into that, it seems like the fact that header-based preload requests are sent out before the document's charset was determined is causing issues in matching of resources coming out of the MemoryCache (in CachedResourceLoader::determineRevalidationPolicy).

Is it possible to avoid determining the charset of resources until later on? Requiring that charset at request time is difficult for preloaded resources, unless they are deliberately delayed.

[1] https://twitter.com/voxpelli/status/834485581132480512

-- 
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/20170307/2dbc2596/attachment.html>


More information about the webkit-unassigned mailing list