-
Notifications
You must be signed in to change notification settings - Fork 179
can use one cache for multi instance on multi pages? #140
Comments
flutter_advanced_networkimage/lib/src/provider/flutter_advanced_networkimage.dart Lines 308 to 318 in 6f2bd60
If the equal expression is true, they will be treated as the same in memory cache. If the urls are the same, they will be treated as the same in disk cache. |
ok . thanks . and how i can check hashes are equal? how hashes are created? with file name or else? |
and can i cancel fetching url on dispose page? or is done automatically? |
See the reference code above.
No, it will keep fetching until the response was received. |
unfortunately this slows down downloading images. a user may dispose image containing page and goes to another page with image. but last image is downloading and slows down network and performance. is not true? |
hello . i am using two networkimage in two page . image urls in two pages are the same. but every one cache image in its first time. means image caches two times in two directory (i think).
can i use one cache for this two widget?
The text was updated successfully, but these errors were encountered: