[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements
WordPress Trac
noreply at wordpress.org
Fri Dec 6 16:01:23 UTC 2019
#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 | Focuses: performance
--------------------------------------+--------------------------
Comment (by spacedmonkey):
> Let's take a step back and focus on what we're trying to accomplish
here: The goal is to add support for the loading attribute to core.
Eventual improvements and more flexibility can be added on demand in the
future as necessary.
This needs to be build to allow for developers to easily unhook or 'turn
off' this feature. This is not a future requirement, is something needed
at launch. There is good reason you may wish to turn off selectively lazy
load part tags. Making sure a video / tracking pixel are just two
examples. The current patch was all or nothing, which seems a little
extreme when we can give users options.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:60>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list