Rien
Rien

Reputation: 159

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

Upvotes: 14

Views: 27907

Answers (3)

Samuel Neff
Samuel Neff

Reputation: 74929

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

Upvotes: 4

KimKha
KimKha

Reputation: 4510

Let's read my test at here: Mobile Safari 5mb HTML5 application cache limit?

I think your apps need user's agreement for storage more than 5MB. Another problem you get is the network problem. It's too slow for 50MB transferring...

Upvotes: 0

scaraveos
scaraveos

Reputation: 1006

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.

Upvotes: 9

Related Questions