Baseflow / Baseflow/flutter_cache_manager

Cache eviction

オープン
#261 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
809
フォーク
510
平均マージ
6分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by locating the existing cache eviction logic for object count and age, then inspect how cache configuration is exposed. Define how a configurable maximum storage capacity should interact with the current policies, and cover the behavior for iOS and Android with tests before considering the feature done.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。