[Webkit-unassigned] [Bug 200159] Make NetworkCache cache shrink logic take account of the configured capacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 26 02:22:48 PDT 2019


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

--- Comment #2 from Loïc Yhuel <loic.yhuel at softathome.com> ---
I'm open to comments about the logic, since :
 - I had to remove the "effectiveWorth" adjustment : keeping it would prevent an unspecified amount of records to be deleted, and I don't know how we could reimplement something similar.
 - The computed deletion probability can be greater than 1 for a part of the entries (if the cache is much bigger than the capacity, either due to issues or if we are reducing it, or if the average worth is high), which means the deletionProbabilityFactor could in fact be not big enough to delete entries with high worth.
 - If the average worth is high, the shrink can also be too aggressive.

-- 
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/20190726/30c0dfba/attachment-0001.html>


More information about the webkit-unassigned mailing list