[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements

WordPress Trac noreply at wordpress.org
Wed Aug 14 08:03:20 UTC 2019


#44427: Introduce lazy-loading API for media and other elements
------------------------------------------+------------------------------
 Reporter:  mor10                         |       Owner:  (none)
     Type:  feature request               |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Media                         |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  performance
------------------------------------------+------------------------------

Comment (by jonoaldersonwp):

 Makes sense. However, that changes the spec and the requirements, and
 introduces a lot of complexity.

 Moving to a `data-src` based approach has very different implications from
 an integration, standards, and SEO perspective - even with the hybrid
 approach. It has many more moving parts than adding support for a new
 attribute.

 I'd much rather we go launch with loading=lazy, and not change anything
 else; and that we 'pave the cowpath' by encouraging other browser vendors
 to catch up.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list