{"action":"created","issue":{"url":"https://api.github.com/repos/onevcat/Kingfisher/issues/35","labels_url":"https://api.github.com/repos/onevcat/Kingfisher/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/onevcat/Kingfisher/issues/35/comments","events_url":"https://api.github.com/repos/onevcat/Kingfisher/issues/35/events","html_url":"https://github.com/onevcat/Kingfisher/issues/35","id":70825492,"number":35,"title":"Is there an equivalent to SDWebImageRefreshCached option?","user":{"login":"rainypixels","id":780433,"avatar_url":"https://avatars.githubusercontent.com/u/780433?v=3","gravatar_id":"","url":"https://api.github.com/users/rainypixels","html_url":"https://github.com/rainypixels","followers_url":"https://api.github.com/users/rainypixels/followers","following_url":"https://api.github.com/users/rainypixels/following{/other_user}","gists_url":"https://api.github.com/users/rainypixels/gists{/gist_id}","starred_url":"https://api.github.com/users/rainypixels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainypixels/subscriptions","organizations_url":"https://api.github.com/users/rainypixels/orgs","repos_url":"https://api.github.com/users/rainypixels/repos","events_url":"https://api.github.com/users/rainypixels/events{/privacy}","received_events_url":"https://api.github.com/users/rainypixels/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/onevcat/Kingfisher/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-24T23:57:40Z","updated_at":"2015-05-04T12:59:02Z","closed_at":"2015-05-04T12:59:02Z","body":"Does Kingfisher have a `KingfisherOptionsInfo` option (or a plan to add one) that's an equivalent to SDWebImage's [`SDWebImageRefreshedCached`](https://github.com/rs/SDWebImage#handle-image-refresh) option? \r\n\r\nAt first glance I thought `ForceRefresh` was the answer. But looking at your docs, that doesn't seem to be the case. It seems like `ForceRefresh` *always* loads the image from the Web while SDWebImage's `SDWebImageRefreshedCached` instead checks the HTTP caching control headers and honors them, i.e. the image is loaded from the Web when, say, the server doesn't return a `304-Not-Modified`, otherwise it's pulled from the cache. The scenario this enables (new image, same url) is pretty common there days; my upcoming app relies on it as well. \r\n\r\nThanks for this library, btw. :) Very timely and much needed since there's really nothing that's pure Swift-based yet. "},"comment":{"url":"https://api.github.com/repos/onevcat/Kingfisher/issues/comments/98699349","html_url":"https://github.com/onevcat/Kingfisher/issues/35#issuecomment-98699349","issue_url":"https://api.github.com/repos/onevcat/Kingfisher/issues/35","id":98699349,"user":{"login":"onevcat","id":1019875,"avatar_url":"https://avatars.githubusercontent.com/u/1019875?v=3","gravatar_id":"","url":"https://api.github.com/users/onevcat","html_url":"https://github.com/onevcat","followers_url":"https://api.github.com/users/onevcat/followers","following_url":"https://api.github.com/users/onevcat/following{/other_user}","gists_url":"https://api.github.com/users/onevcat/gists{/gist_id}","starred_url":"https://api.github.com/users/onevcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onevcat/subscriptions","organizations_url":"https://api.github.com/users/onevcat/orgs","repos_url":"https://api.github.com/users/onevcat/repos","events_url":"https://api.github.com/users/onevcat/events{/privacy}","received_events_url":"https://api.github.com/users/onevcat/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T12:59:02Z","updated_at":"2015-05-04T12:59:02Z","body":"Thanks for your kind words and effort."}}