Baseflow / Baseflow/flutter_cache_manager

Is there a way to set maximum cache size (in megabytes)

Open
#265 1 comment 6 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

We can set max number of cached files and a life span. But i could not find a way to set a maximum size limit.
If we can set lets say 300MB and we are at 250BM atm;
when a new 100MB file getting cahced, the oldest should be deleted (or more up to 50MB)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the existing maximum-file-count and lifespan cache settings, then trace the eviction path. Done means supporting a maximum size in megabytes and removing the oldest cached files, as needed, before adding a new file would exceed that limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.