Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Max size iPad / iPhone Offline Application Cache

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: https://developer.apple.com/library/archive/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html

like image 269
Rien Avatar asked May 05 '10 11:05

Rien


People also ask

How do I free up cache space on my iPad?

You can clear your iPad cache in your browser settings. Open your iPad's settings and tap Safari. Then, scroll down and tap Clear History and Website Data. And you're done — you've cleared your history and your cache and your iPad should run more smoothly.

Does clearing cache speed up iPad?

You can give your device a little speed boost by clearing out the junk and memory-clogging files on your device. In this article we explain how to clean out the cache, which should get your iPhone or iPad running faster once more.


2 Answers

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.

like image 107
scaraveos Avatar answered Oct 19 '22 11:10

scaraveos


If your application uses more than 5mb than iPhone/iPad will ask the user to allow the website to use more space.

Increase Local Storage

like image 35
Samuel Neff Avatar answered Oct 19 '22 11:10

Samuel Neff