title: Is Library/Caches cleared automatically by the iPhoneOS?
body: <p>I have an app that will need to cache some images.</p>
  
  <p>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.</p>
  
  <p>I understand that the reason for storing caches images here are:</p>
  
  <ul>
  <li>Library/Caches isn't backed up by iTunes</li>
  <li>Library/Caches is cleared periodically by the OS</li>
  </ul>
  
  <p>That second point is what I'm questioning...</p>
  
  <ul>
  <li>Is this true?</li>
  <li>Does the OS clear the caches directory automatically?</li>
  <li>Will I need any of my own logic to detect if the cache is too big and to clear the oldest items?</li>
  </ul>