Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds async attr to iframes, with a fallback #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kennethormandy
Copy link

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. :)

@Jcmarc1flores
Copy link

Can You hice me accesos please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants