• Previously, -cleanDisk would only remove cache files that were older
    than the configured expiration date.  This allowed the disk cache to
    grow significantly if a large number of resources were cached over a
    short period of time.
    
    This change adds a second (optional) size-based cleaning pass that
    removes files from the disk cache until its overall size falls below
    half of the configured maximum size.  Older files are deleted first.
    
    The size-based pass is disabled by default (maxCacheSize == 0).
    by Jon Parise
     
    Browse Files







  • Even if the image is cached, fetch the URL again anyway. When set,
    NSURLCache is enabled in the downloader via the new option
    SDWebImageDownloaderEnableNSURLCache.
    
    NSURLCache will handle the protocol caching while SDWebImage remains
    useful for offline images.
    
    This option helps deal with images changing behind the same request URL,
    e.g. Facebook graph api profile pics where the request URL
    https://graph.facebook.com/[userid]/picture returns a redirect to the
    actual profile image.
    
    If a cached image exists, the completion block is called once with the
    cached image and again with the final image.
    by Steven Chan
     
    Browse Files