Baseflow / Baseflow/flutter_cache_manager

Use a custom key for caching

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

Description

How can I use a custom key for caching instead of the url?
When I use the CachedNetworkImage widget, I want to use the customized cache manager. My thought was to extend CacheManager and override its getSingleFile and other methods. But it doesn't seem to work.

Contributor guide

Open the contributing guide

Research direction

Start with the CachedNetworkImage widget and the custom CacheManager entry point mentioned in the issue, then trace getSingleFile and the other overridden methods. Determine whether the current API supports a custom cache key instead of the URL; document the supported usage or clearly define the required change, with completion shown by a working custom-key example.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.