Baseflow / Baseflow/flutter_cache_manager

Use a custom key for caching

Offen
#495 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
809
Forks
510
Ø Merge
6 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart, flutter
Bereich
mobile-dev
Issue-Typ
Dokumentation
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.