<Application_Home>/Library/Caches deleted on low disk space

Originator:toutankharton
Number:rdar://10291487 Date Originated:15-Oct-2011
Status:Duplicate/9752294 Resolved:
Product:iOS Product Version:5.0
Classification: Reproducible:Always
 
15-Oct-2011 10:58 AM Thomas Joulin:
Summary:

Since iOS5, there is a gap between the Documents (backed up by iCloud but cause of app rejection if too big), and the Caches (not backed up but might be cleared without warning) folders.

Steps to Reproduce:

- Store files in cache folder of an app
- Fill up iPhone storage
- Observe cleaning behavior

Expected Results:

Caches folder not touched

Actual Results:

Caches folder emptied

Regression:

Files lossed between iOS4 and iOS5 behaviors

Notes:

Applications rely on the Caches folder for offline capabilities. There should be an Offline folder with limited allowed size, where Applications can safely store files that will not be deleted nor be backed up.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!