[Webkit-unassigned] [Bug 216048] Safari takes too long to fetch images from memory cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 3 00:23:04 PDT 2020


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

--- Comment #8 from youenn fablet <youennf at gmail.com> ---
Reduced test:
<html>
<body>
<img onclick='newImage()' src='http://ironvillage-esports.surge.sh/ca5a87e6413ecf84fb4e9f21aa5d4487.png'></img>
<div id='images'></div>
<script>
function newImage()
{
   images.innerHTML += "<img src='http://ironvillage-esports.surge.sh/ca5a87e6413ecf84fb4e9f21aa5d4487.png'></img>";
}
</script>
</body>
</html>

Clicking on the top level image triggers a revalidation load in Safari, not Chrome and Firefox.
Also, the past images being loaded disappear until the revalidation load is complete.

It seems there are two issues:
- Safari may be revalidating resources in cases where it is not needed.
- Invalidating a CachedImage in the memory cache seems to trigger some blinking.

-- 
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/20200903/9f43ecb3/attachment.htm>


More information about the webkit-unassigned mailing list