Baseflow / Baseflow/flutter_cached_network_image

The failed loading status should not be cached.

Aperta
#930 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
2.6k
Fork
731
Merge medio
3g 9h
PR unite (30g)
1

Descrizione

## 🐛 Bug Report

There are many reasons for image loading failure, but it is inevitable that the loading will fail due to objective network congestion or busy service. This failure status should not be cached, because when the network recovers, I hope to try loading again, because it has already Once it is cached, it will no longer make actual requests. Only by manually clearing the cache can the actual load be carried out again. However, ordinary users will not think in this direction. Even if they know the reason, they will not know how to clear the cache.

### Expected behavior

Only successfully loaded images should be cached

### Reproduction steps
1. Prepare a picture server and get the URL of one of the pictures.
2. Close the image server
3. Use widgets to load this url
4. Start the image server
5. Then use the widget to load the url

### Configuration

**Version:** 1.x

**Platform:**
- [x] :iphone: iOS
- [x] :robot: Android

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Riproduci il problema con il widget, prima mentre il server delle immagini non è disponibile e poi dopo averlo riavviato. Segui il flusso di caricamento e caching delle immagini per determinare se il risultato non riuscito viene conservato. L’attività è completata quando una richiesta successiva può caricare l’immagine dopo il ripristino del server, mentre le immagini caricate correttamente rimangono nella cache.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
mobile
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.