The Apple Core

Jason D. O'Grady & David Morgenstern

With iOS 5 and iCloud, more memory is better than less for your iPhone, iPad

By | October 14, 2011, 10:41am PDT

Summary: The common wisdom is that the arrival of iCloud and iOS 5 will let us store our stuff on the cloud and buy an iPhone and iPad with less memory. However, a recent developer blog post warns that more memory is the better choice.

The common wisdom is that the arrival of iCloud and iOS 5 will let us store our stuff on the cloud and buy an iPhone and iPad with less memory. However, a recent developer blog post warns that more memory is the better choice.

The issue was presented by developer Marco Arment, the maker of the useful Instapaper, the off-line content reading service and application.  The post says the problem arrived with iOS 5 and its automatic backups to iCloud.

It happens that developers have stored data in several temporary caches. This was data that was useful to the application (and for the user experience) but wasn’t backed up in the iTunes sync cycle.

Now the data could be redownloaded, but that might take a long time depending on the available bandwidth (think Wifi vs. Edge) as well as the size of the cached files (the very reason that this data is not included in the usual backup and sync). Apple didn’t flush the caches so everything was fine and developers began to rely on storing their data in the caches.

However, now with iOS 5 and iCloud, Apple wants developers to reduce the amount of data overhead for their apps. If data can be redownloaded, it should be. Arment quotes some developer notes and memos:

1. Only documents and other data that is user-generated, or that cannot otherwise be recreated by your application, should be stored in the <Application_Home>/Documents directory and will be automatically backed up by iCloud.

2. Data that can be downloaded again or regenerated should be stored in the <Application_Home>/Library/Caches directory. Examples of files you should put in the Caches directory include database cache files and downloadable content, such as that used by magazine, newspaper, and map applications.

The problem as Arment explains it is that the cached data is now cleared when capacity falls to some low point. For Instapaper, this means content stored for offline reading, but it could effect apps that deal with map data, e-books and podcasts. If the user fills up the device with content, the caches with the content might be flushed.

He reports that one of his customers recently packed her iPad full of games, video and materials to read for a long-distance flight — a natural action — only to discover that her actions had triggered the cache cleaning routine. No reading for her.

Of course, downloading large amounts of data in the wild may not be practical or possible.

But even with available, fast, unlimited internet connectivity, randomly deleting an app’s data is still a problem:

When customers save an article with Instapaper, get a book in iBooks, or download a podcast with Instacast, they expect it to be there next time they launch the app. Even though it’s technically redownloadable, customers see that as their data — they put it there, and it’s theirs to remove if and when they see fit.

When the cleaner wipes it out, it appears that the app has failed and deleted their data. And customers won’t know that it’s an iOS 5 behavior — they’ll understandably blame the app developers. Even though it’s not our fault, it’s certainly going to become our problem.

There needs to be a file storage location that behaves the way Caches did before iOS 5: it’s not backed up to iTunes or iCloud, it’s not synced, but it’s also never deleted unless the app is deleted.

My guess is that Apple will fix this issue for developers shortly. Still, buying the iPhone and iPad SKU with more memory appears to be the best choice for performance and productivity.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

David Morgenstern has covered the Mac market and other technology segments for 20 years.

Disclosure

David Morgenstern

Freelance journalist/blogger David Morgenstern has nothing to disclose.

Biography

David Morgenstern

David Morgenstern has covered the Mac market and other technology segments for 20 years. In the recent past, he founded Ziff-Davis' Storage Supersite, served as news editor for Ziff Davis Internet and held several executive editorial positions at eWEEK. In the 1990s, David was editor of Ziff Davis' award-winning MacWEEK news publication as well as its successor title, eMediaWEEKly, which focused on multiplatform professional content creation. His byline can be found online and in print publications including CreativePro.com, Peachpit Press' Mac Bible and Popular Photography.

6
Comments

Join the conversation!

Just In

RE: With iOS 5 and iCloud, more memory is better than less for your iPhone, iPad
virthddman 23rd Oct
Not liking the deletion of certain data, this should not have been released. At the very least should have been reported up front.


Access your home PC from your Apple iOS device by using the 2X client App from
http://www.2x.com
also has client for Android. Voted 20th overall best Android App!
crappy app that could cause people to lose their offline reading material and it's Apple's fault.
Automatic wiping of previously downloaded material is just going to drive up the cost of your cellular data charges. Wipe and re-download over and over again seems like a horribly inefficient use of your available data limits. Done sensibly, a certain portion of memory would be dedicated to cache and let the user fill the rest, not wipe the cache when they want to store more stuff on it.
0 Votes
+ -
Some clarification......
rhonin 14th Oct
You are talking about the device mem, not the device RAM?
0 Votes
+ -
With iOS 5 and iCloud
heandyln 16th Oct
My favorite puzzle game, Tetris, puzzle task, plant VS zombies, and Puzzle Pirates. Provide,
The free game download website ipad many iPad applications:http://www.ipadgamesfree.net
www.ausheepskins.com
www.gonsale.com
you can find what you need
Not liking the deletion of certain data, this should not have been released. At the very least should have been reported up front.


Access your home PC from your Apple iOS device by using the 2X client App from
http://www.2x.com
also has client for Android. Voted 20th overall best Android App!

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix