[Webkit-unassigned] [Bug 190031] Creating an image via JavaScript will download both src and srcset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 8 07:40:32 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=190031

--- Comment #6 from Otto G <otto.giesenfeld at comprend.com> ---
Created attachment 466278

  --> https://bugs.webkit.org/attachment.cgi?id=466278&action=review

Network tab while loading the sample website over a slow connection

I downloaded and installed the "Network Link Conditioner" control panel (see https://stackoverflow.com/a/73962679/2416627 for instructions), and I can report that unfortunately, Safari patiently downloads both the src image and the appropriate srcset image, even if it takes a few minutes before all images are loaded and the smaller image finishes loading a minute or more before the larger image.

This actually, completely unnecessarily, leads to horrible performance over a simulated 3G connection for some web pages. (On a real-life website with several responsive images on client-side React pages.)

The sample by Igor Danchenko exhibits the same behavior over a simulated slow connection. I attach a screen dump of the network tab with custom Network Link Conditioner settings of 5 mbps down / 2 mbps up, 50 ms delay, when loading the sample website with a cleared cache.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230508/2bf35448/attachment-0001.htm>


More information about the webkit-unassigned mailing list