mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-16 16:01:30 -04:00
--http-cache-entry-limit is currently implemented as a hard-limit via a check on every put. For a large --http-cache-entry-limit, this can result in a non- trivial delay on every http get. This commit calls cache.maintenance() on Browser.deinit and on startup. maintenance: 1 - purges stale entries 2 - enforces the limit With concurrent requests, the number of entries can easily exceed the limit by hundreds of entries (but this is temporary).