WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
60017
PreloadScanner should fetch iframes
https://bugs.webkit.org/show_bug.cgi?id=60017
Summary
PreloadScanner should fetch iframes
Tony Gentilcore
Reported
2011-05-03 03:14:13 PDT
The PreloadScanner should fetch subdocuments (iframes). To do this, I believe we need to allow main resources in the memory cache, then the fix should be trivial. We might also explore preload scanning within the subframe. FWIW, this will also let us pass browserscope's "|| Script Iframe" test here:
http://www.browserscope.org/?category=network
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-05-03 10:01:27 PDT
Is it common that iframes contain anything worthwhile? It seems that delaying loading them might be best.
David Kilzer (:ddkilzer)
Comment 2
2011-05-03 11:22:00 PDT
(In reply to
comment #1
)
> Is it common that iframes contain anything worthwhile? It seems that delaying loading them might be best.
Or maybe only preload them if they're from a similar domain, or set their priority higher if they're from a similar domain?
Antti Koivisto
Comment 3
2011-05-03 13:56:03 PDT
(In reply to
comment #1
)
> Is it common that iframes contain anything worthwhile? It seems that delaying loading them might be best.
Iframe content is part of the page content and we want the full content to be loaded as quickly as possible. "Worthwhile" or not, it doesn't help anyone if it loads slowly.
Alexey Proskuryakov
Comment 4
2011-05-03 14:07:57 PDT
Total load time is not the only metric to improve. What I'm saying is that prefetching iframes (and even more so, their subresources) has a lot of potential to significantly increase the time until the page is usable.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug