flutter_cache_manager icon indicating copy to clipboard operation
flutter_cache_manager copied to clipboard

Check if KEY is already cached

Open xErik opened this issue 2 years ago • 0 comments

🚀 Feature Requests

I would like to read all the currently cached keys.

Or to be able to check if a certain key is already cached.

Contextualize the feature

More complex usage of the CacheManager requires knowledge of the currently cached keys.

Describe the feature

Example

My app shows thumbnails. Clicking a thumbnail displays the associated, large image.

The app indicates whether the large image is already downloaded and cached or not.

For this indication, the app needs to query the Cache Manager if the associated key of the large image is already cached or not.

Platforms affected (mark all that apply)

  • [x] :iphone: iOS
  • [x] :robot: Android

xErik avatar Apr 19 '23 13:04 xErik