Skip to content

Instantly share code, notes, and snippets.

@abyx
Created January 19, 2016 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abyx/eb464d1f14eb9227d09b to your computer and use it in GitHub Desktop.
Save abyx/eb464d1f14eb9227d09b to your computer and use it in GitHub Desktop.
let URLCache = NSURLCache(memoryCapacity: 4 * 1024 * 1024, diskCapacity: 25 * 1024 * 1024, diskPath: nil)
NSURLCache.setSharedURLCache(URLCache)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment