title: SDImage Cache with GIF Image
body: <p>Im using <a href="https://github.com/mayoff/uiimage-from-animated-gif" rel="nofollow">https://github.com/mayoff/uiimage-from-animated-gif</a> to display GIF Image on UIButton. I wanna use SDImageCache to load GIF Images. Normal .JPEG  working fine with SDImageCache + setImageWithURL. But , With GIF App crashing saying "Terminated app due to Memory Pressure".</p>
  
  <pre><code>    if ([iamgeUrl rangeOfString:@".gif"].location == NSNotFound)
      {
          NSLog(@"Its coming in non gif image");
          [image setImageWithURL:[NSURL URLWithString:iamgeUrl]
                placeholderImage:nil
                         options:0
                         success:^(UIImage *image) {}
                         failure:^(NSError *error) {
                             NSLog(@"Couldn't download the image, Error: %@", error.localizedDescription);
                         }
                 progressBarInfo:pbInfo];
      }
      else
      {
          NSLog(@"Its coming in  gif image");
          NSURL *imgURL = [NSURL URLWithString:iamgeUrl];
          NSLog(@"imgArr for GIF Series:%@",imgArr);
          imgGif = [UIImage animatedImageWithAnimatedGIFURL:imgURL];
          [image setImage:imgGif forState:UIControlStateNormal];
      }
  </code></pre>
  
  <p>Kindly help me out in this case to get rid of this annoying issue. Thank you.</p>