Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save image in cache before calling completion block #700

Merged
merged 1 commit into from
Apr 28, 2014

Conversation

herrernst
Copy link
Contributor

I am using SDWebImagePrefetcher to prefetch some images and then display them at once (from cache). Unfortunately, most of the time one image was missing in cache. This is because the completion handler is called before saving the image in cache. Wouldn't it be better to save the image before?

rs pushed a commit that referenced this pull request Apr 28, 2014
Save image in cache before calling completion block
@rs rs merged commit 8fe7202 into SDWebImage:master Apr 28, 2014
@herrernst
Copy link
Contributor Author

Thanks.

@bpoplauschi bpoplauschi added this to the 3.7.0 milestone Jun 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants