Closed kyasu8917 closed 3 years ago
We can force setImage to get image from origin.
[before] If we set CachePolicy to URLRequest when calling setImage(withUrlRequest:), setImage always don't get from origin, but from imageCache.
[after] setImage reflect CachePolicy setting. (.reloadIgnoringLocalCacheData -> setImage don't use imageCache, always get origin. )
Conditions to refer to ImageCache match ImageDownloader.download.
add no testing
Issue Link :link:
302
Goals :soccer:
We can force setImage to get image from origin.
Implementation Details :construction:
[before] If we set CachePolicy to URLRequest when calling setImage(withUrlRequest:), setImage always don't get from origin, but from imageCache.
[after] setImage reflect CachePolicy setting. (.reloadIgnoringLocalCacheData -> setImage don't use imageCache, always get origin. )
Conditions to refer to ImageCache match ImageDownloader.download.
Testing Details :mag:
add no testing