title: Different cache types SDWebImage
body: <p>I'm using SDWebImage for a while caching all my images but now i want to have more than one cache to to group various types of images. For example three kind of caches with several images each, so in runtime i want to clear one of them or have different <code>setMaxCacheAge</code></p>
  
  <p>Example:
  <strong>types images</strong> = car images is one type, motorcycle is another... airplanes other.. like this. After i store this images i want delete or clear cache only of the motorcycle images (one type)</p>
  
  <p>Now I have this but is for every images cached:</p>
  
  <pre><code>SDImageCache * sDImageCache = [SDImageCache sharedImageCache];
  [sDImageCache setMaxCacheAge:60*60*24];
  
  ...
  
  SDImageCache *imageCache = [SDImageCache sharedImageCache];
  [imageCache clearMemory];
  [imageCache clearDisk];
  [imageCache cleanDisk];
  </code></pre>
  
  <p>-</p>
  
  <p>I saw this but is really that i want?</p>
  
  <blockquote>
    <p>SDImageCache *imageCache = [[SDImageCache alloc] initWithNamespace:@"myNamespace"];</p>
  </blockquote>
  
  <p><a href="https://github.com/rs/SDWebImage#using-asynchronous-image-caching-independently" rel="nofollow">Using Asynchronous Image Caching Independently</a></p>