Skip to content

Add method to audit cache with size limit #31

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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