[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 Oct 29 15:50:04 UTC 2021
#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: 5.9
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
-----------------------------+--------------------------
Comment (by isaumya):
Yes @westonruter. But in many cases when you know for sure that whether
the user is gonna visit the site on a mobile device or desktop that image
is going to be the first image that they will see and cause the LCP. Doing
this improves the LCP a lot as otherwise, the browser might download some
other images below and then download the top image increasing the LCP. But
yes I do agree with you it should not be used without knowing what exactly
it is going to do and its consequences.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53232#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list