Baseflow / Baseflow/flutter_cache_manager
Is there a way to set maximum cache size (in megabytes)
未关闭
type: enhancement
- 主要语言
- Dart
- 星标
- 809
- 派生
- 510
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 1
描述
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)
贡献指南
调研方向
该 issue 中未确定任何文件、测试或入口点。首先定位现有的最大文件数和缓存生命周期设置,然后跟踪驱逐路径。完成的标准是支持以兆字节为单位的最大大小,并在添加新文件会超出该限制之前,按需删除最旧的缓存文件。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, flutter
- 领域
- mobile-dev, performance
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100