[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 Jan 21 17:04:30 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 sergiomdgomes):

 I tried to find some performance research on this option but unfortunately
 came up empty-handed.

 Is anyone aware of any research that indicates the degree of benefit we
 can expect from this, the situations it benefits the most, and whether
 there are any situations where adding `decoding=async` to an image could
 potentially cause it to render later, and thus have a negative impact on
 metrics like LCP?

 Performance options tend to come with tradeoffs, instead of being
 asymptotically better, so it would be beneficial to understand what the
 tradeoffs are a bit better before potentially adding it to every image.

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


More information about the wp-trac mailing list