Max size iPad / iPhone Offline Application Cache
Asked Answered
B

3

14

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

Briquette answered 5/5, 2010 at 11:54 Comment(1)
I could bump it to 50 MB without any trouble.Hypnotist
G
9

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.

Greenland answered 6/5, 2010 at 22:8 Comment(0)
O
4

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

Ozenfant answered 31/10, 2012 at 20:0 Comment(3)
But is there a max size?Deathful
@koiyu, I don't know. We didn't test the limit because we had a very specific amount of data to store. Our data was 125mb total.Ozenfant
With iOS 10 clicking on "Increase" on that dialog just crashes Safari.Maynor
B
0

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...

Benzvi answered 17/4, 2012 at 16:39 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.