[Webkit-unassigned] [Bug 66474] Dynamically injected base tag from external script causes extra requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 18 21:16:36 PDT 2011


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


Kyle Simpson <getify at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |getify at gmail.com




--- Comment #4 from Kyle Simpson <getify at gmail.com>  2011-08-18 21:16:36 PST ---
> That said, I think the part that needs clarification most here is why this technique works perfectly when the script is inline in the head, but not when it's referenced externally. Shouldn't these two scenarios behave the same?

Sounds like the difference is that the browser knows immediately during parsing the contents of inline script blocks, so it can abandon an invalidated resource preload right away if a base tag is injected. For an external script resource, the base tag injection may/will happen "later", when the script finishes loading and executes, which is likely well after the other resource loading has already started. Aborting a request/response in mid flight is probably harder to do, and also probably doesn't really save much in bandwidth on either side of the fence.

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