Baseflow / Baseflow/flutter_cache_manager

How to keep stale file around?

未关闭
#363 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
1

描述

## 💬 Questions and Help

Hi there

I'm wanting to keep stale image files around so that, if the user is offline, the stale one is served rather than checking for a new one and then showing nothing (cause offline).

Obviously, if `maxNrOfCacheObjects` is exceeded then I would expect to see some files be removed, so this question assumes we're within the limit.

How best to achieve this?

Cheers

Tobin

贡献指南

打开贡献指南

调研方向

未识别出任何文件、测试或入口点;请先在此 Dart/Flutter 仓库中定位缓存检索和过期文件处理的入口点。该 issue 未定义 Done 的标准,因此请确认现有配置是否能够在离线时提供过期文件,或者是否需要修改文档或代码。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
mobile
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。