Expand description
What server mode’s cache keeps, and the port that chooses what it lets go. The cache itself — files on the PVC — is the binary’s; deciding which entries to delete when it is past its limit is a pure function of them.
Structs§
- Entry
- One version’s copy in the cache.
- Lru
- The least recently read first, until the cache is at 90% of its limit, so a full cache doesn’t evict on every read.
Traits§
- Eviction
- The eviction policy: given every entry, the cache’s limit and its size, which entries to delete. It decides and never acts — the cache deletes them, skipping any being served.