Baseflow / Baseflow/flutter_cache_manager

Support to manually trigger CacheStore._cleanupCache()

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

Description

## 🚀 Feature Requests

Support to manually trigger CacheStore._cleanupCache()

### Describe the feature
In current CacheStore implementation _cleanupCache() function is triggered 10 seconds later after every call to CacheStore.retrieveCacheData function. That means; if we don't request a new -not yet cached uri-, retrieveCacheData function will not be triggered, so there is no way that _cleanupCache logic have a chance to run again.

As I understand correctly; in current implementation there is no way to get a new version of an already cached url resource till we request a new uri resource to trigger cleanup logic.

### Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [x] :robot: Android

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.