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

WordPress Trac noreply at wordpress.org
Mon Aug 19 23:21:53 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-unit-tests has-patch  |     Focuses:  performance
----------------------------------------+------------------------------

Comment (by mor10):

 These examples of custom- and anti-patterns are precisely why we need this
 implemented in core asap: Lazy-loading is becoming more and more well-
 known by site owners, and they are turning to plugins to get it done.
 Rolling out a cohesive method with a proper developer interface in core
 allows plugin developers to upgrade (or sunset) their solutions in a
 graceful way.

 I am wary of any attempt at modifying the spec to conform to plugin
 behavior. A better solution from my perspective would be to notify all
 plugins which offer lazy-loading functionality of the upcoming change to
 core and give them time to test and update their solutions to fit.

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


More information about the wp-trac mailing list