Re: [whatwg] <iframe async>

On Fri, Feb 27, 2015 at 4:37 PM, David Bruant <bruant.d@gmail.com> wrote:
> The exact same question stands for implementors of the current proposal.
> Until what point should a browser delay loading the iframe?
>
> The difference being that the author knows the relative importance of the
> various iframes among themselves and with the parent (at least better than
> the browser) and can make the choice between (non-exhaustive list):
> * a delay in ms after the delaying script starts executing
> * after DOMContentLoaded or load
>     * or any amount of time after one of the two events. Maybe choose to
> load after twice the time it took for DOMContentLoaded (which one can know
> via performance API)
> * after first paint (there is a way to know when that happens, right? or
> with an upcoming spec?)
> * after some other resource has loaded (maybe to "chain" iframe loading)
> I'm sure there can be other reasonable options.
> I don't think it's reasonable for browsers to implement all these options.

All of those delay the load event per earlier emails...


> You said that you got feedback from someone asking for this.
> What is the behavior they currently implement?

Today they stamp out the template and users suffer (somewhat).


-- 
https://annevankesteren.nl/

Received on Friday, 27 February 2015 15:40:57 UTC