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

WordPress Trac noreply at wordpress.org
Mon Jan 13 15:02:07 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 OptimizingMatters):

 FYI regarding exclusion strings; there's an initiative among developers of
 plugins that provide lazy-load functionality to standardize lazy-load
 exclusion based on `skip-lazy` (class) and `data-skip-lazy` (attribute,
 following the same naming convention as the class). The first is already
 in wide use as mentioned in previous comments, the attribute to some
 lesser extent, but this is expected to change soon. Would be great if this
 could be implemented in core like that as well.

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


More information about the wp-trac mailing list