[whatwg] Promise-vending loaded() & ready() methods on various elements

Jake Archibald jaffathecake at gmail.com
Fri Mar 14 15:04:08 PDT 2014


On 14 March 2014 21:05, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 3/14/14 5:03 PM, Jake Archibald wrote:
>
>> Do you know what browsers do with a fully cached script?
>>
>
> "<script src=url>" is always executed async when inserted into the DOM,
> cached or not.


Any guarantees of ordering if fully cached?

If not, yeah, async=false or chain via .loaded is the way to go.



More information about the whatwg mailing list