[wp-trac] [WordPress Trac] #58235: Enhance hero image loading performance with Fetchpriority

WordPress Trac noreply at wordpress.org
Thu Jul 6 16:31:18 UTC 2023


#58235: Enhance hero image loading performance with Fetchpriority
--------------------------------------+--------------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  enhancement               |      Status:  reopened
 Priority:  high                      |   Milestone:  6.3
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by flixos90):

 In [changeset:"56154" 56154]:
 {{{
 #!CommitTicketReference repository="" revision="56154"
 Media: Ensure that the image widget supports loading optimization
 attributes.

 This changeset adds support for loading optimization attributes such as
 `loading="lazy"` and `fetchpriority="high"` to the image widget. A new
 context `widget_media_image` is introduced for that purpose.

 Props spacedmonkey, thekt12, mukesh27, westonruter.
 Fixes #58704.
 See #58235.
 }}}

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


More information about the wp-trac mailing list