Awesome Open Source
Awesome Open Source

JGAFImageCache 2.1.0

A fast reliable image cache for iOS built with NSURLSession.

  1. Asynchronously loads from the fastest available source: NSCache, disk, or Internet.
  2. Creates SHA1 hash of urls to use as keys.
  3. Always calls completion blocks on the main queue.
  4. Automatically removes old images in the background.
  5. Stays out of your way.

Version Info:


  • Add nullability annotations.
  • Add @synchronized around UIImage creation.
  • Add check for error in the NSURLSession completion block.


  • Fix compiler warning because of incorrect class type instantiation.


  • Merge the JGAFSHA1 category into the main source file and remove NSString+JGAFSHA1 files.


  • Remove dependency on AFNetworking in favor of NSURLSession.


  • Fix implicit strong references to self inside blocks.


  • Add CC_LONG cast for 64 bit compatibility.
  • Update podspec to use version 1.3.3 of AFNetworking.


  • Add clearAllData method.
  • Remove beta classification.


  • Add serial queue for save to disk operations.
  • Check for available free disk space before saving to disk.


  • Add retry logic.
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Objective C (57,107
Block (21,252
Remove (5,444
Afnetworking (730
Nsurlsession (215