NSURLRequest memory size for cache in iOS
-
18-06-2021 - |
Question
Is the memorySize you specify for the cache (memory) mapped to the disk or is it real memory that is being used?
Solution
memoryCapacity
specifies the size of the in-memory cache. It is not mapped to disk, it is real memory.
diskCapacity
specifies the size of the on-disk cache - on iOS 5 and later.
OTHER TIPS
IT is the cache (memory) mapped to the disk .not the real memory.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow