Re: [whatwg] iframe async

2015-03-04 Thread Anne van Kesteren
On Fri, Feb 27, 2015 at 7:52 PM, Fady Samuel fsam...@chromium.org wrote:
 This is obviously larger than the particular set of use cases mentioned
 here, but another set of iframe discussions I've seen lately have centered
 around going off thread or out of process. I wonder if there is a more
 basic primitive here that can apply to all these use cases [and perhaps
 even allow for new behaviors we haven't thought of]? Perhaps a new email
 thread would be appropriate for such a discussion?

One problem with having a switch that does more than asked for is that
it might not get you the adoption you want. Often when deployed web
sites are already complicated it's easier to add something that
changes a single thing than add something that changes a bunch, some
of which you might not need.

Would love to see more ideas though, either here or in a new thread.


-- 
https://annevankesteren.nl/


Re: [whatwg] iframe async

2015-03-04 Thread Anne van Kesteren
On Fri, Feb 27, 2015 at 7:31 PM, Ashley Gullen ash...@scirra.com wrote:
 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.

Yeah, async was poorly chosen as subject in hindsight.


 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.

Yes, exactly.


-- 
https://annevankesteren.nl/