Baseflow / Baseflow/flutter_cache_manager
Cache eviction
- Lingua principale
- Dart
- Stelle
- 809
- Fork
- 510
- Merge medio
- 6m
- PR unite (30g)
- 1
Descrizione
Hi, thank you for a great project simplifying persistent caching in flutter!
## 🚀 Feature Requests
Eviction based on cache size. It seems the only policy available is number of objects and age.
### Contextualize the feature
I only store immutable objects. No object can ever change. It therefore does not make sense to me to evict objects based on age. I wish that the user can set a maximum allowed storage capacity for the cache, such as 250MB and then fill this up, never evicting until the cache is full. Never evicting could also be important to make offline mode work smoother, though I realize offline support might be outside the scope of this project.
### Describe the feature
### Platforms affected (mark all that apply)
- [X] :iphone: iOS
- [X] :robot: Android
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando la logica esistente di espulsione dalla cache per il numero e l'età degli oggetti, quindi esamina come viene esposta la configurazione della cache. Definisci come una capacità massima di archiviazione configurabile debba interagire con i criteri attuali e copri con test il comportamento per iOS e Android prima di considerare completata la funzionalità.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart, flutter
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100