Skip to content

Add method to audit cache with size limit #31

@timonus

Description

@timonus

Should be pretty easy to implement based on existing methods with two passes.

  • Pass 1: get all images, LRU times, and sizes.
  • Determine which images need to be trimmed to reach limit in LRU order
  • Pass 2: flush images from above step

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions