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

Add 'loading' attribute to img and iframe #399

Open
arthurattwell opened this issue Aug 16, 2019 · 0 comments
Open

Add 'loading' attribute to img and iframe #399

arthurattwell opened this issue Aug 16, 2019 · 0 comments

Comments

@arthurattwell
Copy link
Member

Chrome now supports this attribute. Do we want to add loading=lazy to our includes and JS that construct img and iframe elements?

The advantages are the obvious ones that the Chrome team mention . Are there disadvantages? For instance, do users expect that once a page is opened the images below the viewport have loaded for when they return offline later?

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

No branches or pull requests

1 participant