Instantly share code, notes, and snippets.

Embed
What would you like to do?
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