Skip to content

Thoughts on adding support for native lazy loading? #88

@JacobDB

Description

@JacobDB

Some browsers now support a loading attribute on images and iframes. A recent article on Smashing details how lazy loading scripts can be modified to first check for native support for lazy loading before triggering JavaScript based solutions.

What are your thoughts on adding a parameter (something like prefer_native) that would check if native lazy loading is supported, and only run Layzr if it's not supported?

https://www.smashingmagazine.com/2019/05/hybrid-lazy-loading-progressive-migration-native/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions