Baseflow / Baseflow/flutter_cache_manager

How to keep stale file around?

Open
#363 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 💬 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.