[Webkit-unassigned] [Bug 36399] New: WorkerScriptLoader always (and unfortunately sometimes) inherits caching policy from the parent context.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 19 16:55:05 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36399
Summary: WorkerScriptLoader always (and unfortunately
sometimes) inherits caching policy from the parent
context.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dimich at chromium.org
CC: ap at webkit.org, levin at chromium.org,
atwilson at chromium.org
Probably since we switched from using CachedScript to ThreadableLoader in
WorkerScriptLoader (http://trac.webkit.org/changeset/44726), the caching
behavior changed in somewhat unfortunate way: when the page that creates more
then 1 worker from the same script is "reloaded", it re-validates all the
resources via server roundtrip and if multiple workers are created from the
same url, they get revalidated every time.
Here is the test created by Drew Wilson:
http://www.corp.google.com/~atwilson/worker-latency.html
Click the link, it'll create several workers. Note the printed time. Hit
refresh. It'll create several workers again, this time taking longer for each
one, for roundtrip to the server.
--
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