Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Get & list cached files

Open
#434 1 comment 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
dart, flutter
Domain
mobile-dev

Research direction

Start by reading CacheManager.downloadFile and the CacheStore provider.getAllObjects() path to understand how cache keys and stored files are represented. Trace the existing cache lookup flow before deciding where the two APIs belong. Done means callers can check a key without a File and retrieve all cached keys, including the requested behavior for hundreds of files.

Written by the indexing model from the issue text.

Description

🚀 Feature Requests

The default CacheManager is great, and automatic caching is great.
But for some files, I need to manually download them to cache, using downloadFile, great.
But later, I need to check wether a file is already cached, to decide whether to download it or not.
And I need to do that for hundreds of files.

So it would be very nice to add too methods :

  1. A method to check whether a file is cached or not (without providing the File itself), returning a bool.
  2. A method to list ALL cached files (like provider.getAllObjects() in CacheStore), returning a list of keys.
Dominant language
Dart
Stars
810
Forks
510
Avg merge
2d 2h
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Baseflow/flutter_cache_manager

All issues in Baseflow/flutter_cache_manager

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.