[wp-trac] [WordPress Trac] #59638: Images: repeating a single image causes `fetchpriority` to be repeated
WordPress Trac
noreply at wordpress.org
Wed Nov 22 16:21:28 UTC 2023
#59638: Images: repeating a single image causes `fetchpriority` to be repeated
-----------------------------+--------------------------
Reporter: adamsilverstein | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5
Component: Media | Version:
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses: performance
-----------------------------+--------------------------
Changes (by joemcgill):
* milestone: Awaiting Review => 6.5
Comment:
I'm moving this into the 6.5 milestone for further investigation. This may
seem unexpected, but was in fact an intentional decision as I understand
it, so we may end up closing this as a wontfix. For a use case like
@afercia outlines above, I believe browsers will use the larger image from
the `srcset` that it already fetched for the subsequent `img` tags rather
than fetching a smaller file, which is the same behavior that browsers
will use if it already has a larger that needed file from the source list
in cache, but worth confirming.
It would also be worth seeing what the real performance impact of removing
the optimization would be, since this is likely an edge case optimization
anyway.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59638#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list