views:

1376

answers:

2

Anyone knows the max size of Safari's 'Offline Application Cache' on the iPad & iPhone. Looks like it's 5MB. Is there any way to enlarge this size?

Offline application cache docs: http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html

+2  A: 

I have the same problem on iPhone. On iPad though I figured a turn around. If your manifest contains files less than 5MB the first time and you update the cache by window.applicationCache.update() and before doing the update you increase the manifest files to be below 10mb it will work. If you continue doing that (increasing the manifest by <5MB each time and then update()) you will see that the iPad can cache more than the 5MB limit.

It is so sad that Apple by not supporting Flash and MIDP but only HTML5 for web-apps screws so much on that.

scaraveos
A: 

Thanks for the answer, I noticed the same behavior on the iPad but was not 100% sure. I really hope Apple will support more storage, it should be easy to ask the user to allow/disallow more than 5MB storage for the Offline application cache.

rien
I emailed Apple about this. They answered it's not supported to load more than 5mb of data.And: If you would like for Apple to consider adding support for such features in the future, please submit an enhancement request via the Bug Reporter tool at <http://bugreport.apple.com>.It would be great if Apple implemented a prompt to gave the user the choice to store more data.
Rien