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
Is it common that iframes contain anything worthwhile? It seems that delaying loading them might be best.
(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?
(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.
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.