[wp-trac] [WordPress Trac] #53232: Add async decoding attribute as default to the HTML image tags generated by WordPress

WordPress Trac noreply at wordpress.org
Fri Feb 25 23:33:18 UTC 2022


#53232: Add async decoding attribute as default to the HTML image tags generated by
WordPress
--------------------------------------+-----------------------------
 Reporter:  isaumya                   |       Owner:  (none)
     Type:  feature request           |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+-----------------------------

Comment (by westonruter):

 @mihai2u Amazing and thorough research! As I
 [https://github.com/WordPress/performance/issues/86#issuecomment-1051362627
 commented] on the performance repo:

 > I suppose the next question would be: should there be a way for site
 owners to selectively turn off `decoding=async` as they can for
 `loading=lazy`? In your research you found no downsides, then perhaps not?

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


More information about the wp-trac mailing list