You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Network requests for different sources is fixed with #32634. Taking a look at the double request for the same resource is going to take a bit longer, it appears at first glance to be an issue with Webkit (see final comment here from 2018, https://bugs.webkit.org/show_bug.cgi?id=6656)
Turns out debugging the issue causes a double network request with this fix applied. Once I removed breakpoints the network request was only made once.
Closing this issue as resolved, and it should be available in the next release.
What's the issue?
amp-img
makes duplicate image requests when bothimg
andsrcset
attributes are defined.How do we reproduce the issue?
amp-img
component – seems to be both thesrc
, and one defined insrcset
Have observed issue on multiple real-world sites.
Test case - https://output.jsbin.com/cisawet
What browsers are affected?
Which AMP version is affected?
Powered by AMP ⚡ HTML – Version 2101300534005
Unknown whether it previously worked
The text was updated successfully, but these errors were encountered: