[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements
WordPress Trac
noreply at wordpress.org
Thu Jan 9 21:10:33 UTC 2020
#44427: Introduce lazy-loading API for media and other elements
-------------------------------------------------+-------------------------
Reporter: mor10 | Owner: flixos90
Type: feature request | Status: assigned
Priority: normal | Milestone: 5.4
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd- | Focuses:
opinion | performance
-------------------------------------------------+-------------------------
Comment (by westonruter):
Replying to [comment:79 peterwilsoncc]:
> Replying to [comment:76 westonruter]:
> My understanding is that adding `loading=lazy` to all images can be just
as problematic, or potentially more so, than not using the attribute.
Images within the view port ought not use the attribute while images below
the fold ought to.
This shouldn't apply because `loading=lazy` only affects behavior of
images that are ''outside'' the viewport.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:80>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list