[Webkit-unassigned] [Bug 243312] Safari does not respect Cache-Control: no-store, no-transform header when loading images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 29 09:29:06 PDT 2022


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

--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> ---
Created attachment 461297

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

test patch

My understanding is that this is technically correct behavior. Will keep this open for consideration as a large difference with Chrome though.

>From browser point of view, Cache-Control is irrelevant here, because it only affects behavior of HTTP cache. The browser is not obligated to make an HTTP request in this scenario, as it already has the image available at a much higher level than HTTP.

>From web server point of view, it is a server bug to return different images for the same GET request, see <https://developer.mozilla.org/en-US/docs/Glossary/Idempotent>. Trying to do this will result in problems in more cases than just this.

Adding a test in the form of a patch to apply to WebKit tree, and to use with run-webkit-httpd.

-- 
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/20220729/76a31e06/attachment.htm>


More information about the webkit-unassigned mailing list