You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KF does not honor maxCachePeriodInSecond when setting cache. Expected result is that KF downloads image from URL when maxCachePeriodInSecond expires. Instead, it always loads image from cache.
Reproduce
This happens always with any URL. Here is our code:
maxCachePeriodInSecond is a "suggestion" of longest cache duration. It is not an aggressive way to control and clean the cache when any access happens. Basically, Kingfisher will check and clear the expired cached images when user tap Home button to send your app to background. If you need such an aggressive cleaning behavior, you may need to call cleanExpiredDiskCache(completion:) every time you try to access the images yourself, and do image retrieving in the completion handler.
Issue Description
What
KF does not honor maxCachePeriodInSecond when setting cache. Expected result is that KF downloads image from URL when maxCachePeriodInSecond expires. Instead, it always loads image from cache.
Reproduce
This happens always with any URL. Here is our code:
The text was updated successfully, but these errors were encountered: