Baseflow / Baseflow/flutter_cached_network_image

The failed loading status should not be cached.

Open
#930 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

## 🐛 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.