[wp-trac] [WordPress Trac] #36378: Srcset download 2 images with one request.
WordPress Trac
noreply at wordpress.org
Thu Sep 1 12:20:30 UTC 2016
#36378: Srcset download 2 images with one request.
-------------------------------------+--------------------------
Reporter: adam.radocz | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 4.4.2
Severity: normal | Resolution: invalid
Keywords: reporter-feedback close | Focuses: performance
-------------------------------------+--------------------------
Changes (by joemcgill):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Replying to [comment:7 SergeyBiryukov]:
> I was able to reproduce the issue on a clean install in the latest
Chrome (52.0.2743.116 and 53.0.2785.89) exactly as shown on the video.
>
> The markup is correct though, so if the browser downloads both versions
of the image in certain conditions, it's up to the browser, I guess.
I'm still not able to reproduce this with all plugins off and am fairly
confident that this isn't a browser bug. In the video it looks like a
Pinterest plugin is being used, which might be adding additional HTML to
the page to populate the shareable image. As an aside, if you test this
with the Debug bar on, you may appear to get double downloads because the
debug bar adds additional markup to the page that can include calls for
the original image. This tripped me up at first, but after turning that
off, I no longer saw double downloads.
I'm going to go ahead and close this as invalid. Feel free to reopen if it
can be demonstrated that this is a reproducible bug that WordPress needs
to work around.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36378#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list