[webkit-dev] Preload Scanner in WebKit
Adam Barth
abarth at webkit.org
Thu Feb 10 23:11:32 PST 2011
On Thu, Feb 10, 2011 at 11:09 PM, ROSE-nd-ASH <rosen.dash at gmail.com> wrote:
> While trying to understand preload scanning in WebKit code, I got to know
> that it only starts when HTMLTokenizer encounters JavaScript. Am I right in
> concluding so?
> If yes, why it's not started if when CSS files or other sub-resources are
> encountered first. Is there any particular reason for this??
We run the preload scanner when the regular parser is blocked on the
network. CSS and other sub-resources don't block the main parser
whereas scripts do.
Adam
More information about the webkit-dev
mailing list