Baseflow / Baseflow/flutter_cache_manager

Use a custom key for caching

Ouverte
#495 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
809
Forks
510
Merge moyen
6 min
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart, flutter
Domaine
mobile-dev
Type d'issue
Documentation
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.