(void)loadImageWithURL:(NSURL *)URL target:(id)target success:(SEL)success failure:(SEL)failure{
//search at cache.if failed,search at disk.
}
//when image download is complete,write the data to disk in a new thread. I think it will help us to avoid the duplicate download.
I think we can do like this.