[Webkit-unassigned] [Bug 209961] request gets fetched from memory cache instead of service worker after second refresh

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 4 13:36:15 PDT 2020


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

--- Comment #2 from youenn fablet <youennf at gmail.com> ---
Hi Giorgi,

Your observations are probably correct.

The typical load flow is:
Web page start a load -> Memory Cache check -> Service Worker Check -> Network Cache check -> Network load.

If there are important resources you want to always return from service worker, the best way to do it would be to use Cache-Control on the response returned by the service worker since the Memory Cache will use these.

Note that the memory cache improves the page load since the resources are in process and some of the resources are pre-processed for faster reuse like images.

Would you be able to describe more precisely the issues this behavior might cause?

-- 
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/20200404/d224347b/attachment.htm>


More information about the webkit-unassigned mailing list