Max size iPad / iPhone Offline Application Cache

后端 未结 3 541
庸人自扰
庸人自扰 2020-11-29 02:42

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 a

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 03:11

    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.

提交回复
热议问题