Risks of native lazy loading with the HTML loading attribute?

こ雲淡風輕ζ 提交于 2020-04-30 06:38:10

问题


Browsers started recently supporting native lazy loading via the loading attribute.

However, many image heavy sites like unsplash.com and pexels.com don't use native lazy loading.

Obviously, not all browsers support native lazy loading, but what are the risks of using loading="lazy" in addition to other options for lazy loading? That is, if you accept that unsupported browsers won't lazy load images, is there any downside to adding loading="lazy" to img tags?

来源:https://stackoverflow.com/questions/61314750/risks-of-native-lazy-loading-with-the-html-loading-attribute

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!