Skip to content

Instantly share code, notes, and snippets.

@abyx
Created January 19, 2016 15:19
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