embedresponsively icon indicating copy to clipboard operation
embedresponsively copied to clipboard

Adds async attr to iframes, with a fallback

Open kennethormandy opened this issue 10 years ago • 1 comments

The async attribute is now supported well enough with a defer fallback that it’s safe to use. This is the perfect use case, as it’s for modules that

Can be placed anywhere, ideal for scripts that can tolerate out-of-order execution. —Ilya Grigorik

More info on that in this post on the async attribute. Essentially, this pull request (quickly, a little hack-ily) adds the async and defer attributes to every iframe, speeding up a page’s perceived performance in the browsers that support them.

Let me know if you have any questions about it. :)

kennethormandy avatar Nov 29 '14 21:11 kennethormandy

Can You hice me accesos please

Jcmarc1flores avatar Jan 19 '22 14:01 Jcmarc1flores