[Webkit-unassigned] [Bug 198358] New: fetch({cache:'no-cache'}) does not respect cache-control:immutable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 29 19:05:14 PDT 2019


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

            Bug ID: 198358
           Summary: fetch({cache:'no-cache'}) does not respect
                    cache-control:immutable
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ben at wanderview.com

While investigating crbug.com/611416#c57 I build a glitch demo to test cache-control:immutable behavior:

https://cache-control-immutable-test.glitch.me

It appears that safari 12 triggers a revalidation for fetch({cache: 'no-cache'}) even if the response has cache-control:immutable.  Neither Firefox or Edge 18 do this.

In addition, I believe there was some consensus for making fetch({cache:'no-cache'}) respect immutable in (although I might be reading it in a biased way):

https://github.com/whatwg/fetch/issues/308

(I'm putting this in service workers since fetch() is used there.  Not sure if there is a better component.)

-- 
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/20190530/51e9e7e0/attachment.html>


More information about the webkit-unassigned mailing list