Baseflow / Baseflow/flutter_cache_manager

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

Offen
#265 1 Kommentar 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
type: enhancement
Vorherrschende Sprache
Dart
Sterne
809
Forks
510
Ø Merge
6 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart, flutter
Bereich
mobile-dev, performance
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.