[Webkit-unassigned] [Bug 226083] Don't hang onto expired resources without validation headers in memory cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 26 11:11:25 PDT 2021


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

--- Comment #12 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 429755
  --> https://bugs.webkit.org/attachment.cgi?id=429755
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=429755&action=review

> Source/WebCore/ChangeLog:29
> +        Remove expired resources without validation headers from the cache if the resource is otherwise deletable.

I guess this is the more conservative approach, so maybe it's best. But I wonder if there's any value to expired resources _with_ validation headers in the memory cache? In that case, we're going to do a network round trip to validate anyway, so maybe an IPC round trip to the network process is also fine. Long ago, Dave Hyatt told me that the real win of the memory cache was when it could respond synchronously in the current RunLoop iteration.

-- 
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/20210526/2a35f953/attachment.htm>


More information about the webkit-unassigned mailing list