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

WordPress Trac noreply at wordpress.org
Wed Aug 14 07:59:12 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 willstockstech):

 Replying to [comment:20 jonoaldersonwp]:
 > Is there a reason for this approach, vs the native Chrome approach
 described above?

 Native Chrome approach = Chrome only (https://caniuse.com/#search=loading
 - currently 0.15%)
 lazysizes + native-loading plugin = multiple browsers (lazysizes for those
 that don't support the loading attribute, native for those that do)

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


More information about the wp-trac mailing list