- From: Ashley Gullen <ashley@scirra.com>
- Date: Fri, 27 Feb 2015 18:31:35 +0000
- To: WHATWG <whatwg@lists.whatwg.org>
Perhaps "independent" is a better name than "async", indicating the iframe content is independent of the main page. Browser loading UI, load events, "fast back" and possibly performance tools would not take in to account independent iframes, since they are explicitly marked as not important to the working of the main page. I think there are widespread use cases for this: ads and those social icons (facebook, tweet etc) are all iframed, and I've seen pages look like they're really slow because they're waiting for a Tweet button to load when the main page was ready long ago. Performance tools is another case I bring up because I've seen some tools say the page took say 2 seconds to load, when the main page was really ready after 300ms and then it spent 1.7 seconds waiting for the Tweet button to finish its thing. It would be nice if performance tools could identify the independent iframe and not include it in such calculations. Ashley On 27 February 2015 at 17:28, David Håsäther <hasather@gmail.com> wrote: > On Fri, Feb 27, 2015 at 5:51 PM, David Bruant <bruant.d@gmail.com> wrote: > > >> We want these to have normal priority > >> (otherwise we could insert them on load), but we don't want want them > >> to delay load, mainly because *our* site is perceived as slow when the > >> progress bar is shown. > > > > Which progress bar are you referring to? The browser load UI indicator? > > Yes. > > >> I don't think it's too uncommon for people to > >> wait for the progress bar to disappear before they start interacting > >> with the page. I do that sometimes, e.g. to make sure I don't misclick > >> because an image loads and the page jumps. > > > > The "progress bar" problem and the load event problems seem distinct (but > > they're not because of how browsers implement the load UI indicator). > > I'm mainly talking about the load indicator for my use case, I'm not > listening to the load event. > > >> The bfcache problem is another thing that would be really nice to solve, > >> yes. > > > > From the problem statement, maybe the attribute that should be added is > > "does-not-delay-load" (which could be used on images or any element which > > loads something that delays the load event). > > Yes, good point, there are probably use cases outside of iframes, e.g. > third-party images (like avatars, that could be considered > unimportant). > > -- > David Håsäther >
Received on Friday, 27 February 2015 18:32:04 UTC