I have an app that will need to cache some images.
I have read some documentation about caching, and the logical thing to do is to cache my images within the Library/Caches directory within my app's sandbox.
I understand that the reason for storing caches images here are:
- Library/Caches isn't backed up by iTunes
- Library/Caches is cleared periodically by the OS
That second point is what I'm questioning...
- Is this true?
- Does the OS clear the caches directory automatically?
- Will I need any of my own logic to detect if the cache is too big and to clear the oldest items?