iphone - iPad 中允许的最大缓存

标签 iphone ios ipad html safari

我正在开发一个网络应用程序,它有多个大小高达 22MB 的视频。 要求是缓存这些视频或将其存储在本地存储中,以避免每次最终用户在 iPad 上访问网站时都缓冲视频。

做这样的事情有效吗? 我需要一个建议来检查这种做法是否适合在 iPad 中使用如此大的内存进行视频缓存?

(该应用程序主要通过 iPad 或 iOS 上的 safari 访问)

最佳答案

我不确定视频的最佳做法,因为我对视频的处理不多,但如果您正在寻找有关可以保存多少数据以及如何保存的信息,请查看 http://milesmatthias.com/post/21323839252/the-current-state-of-client-side-storage有关不同策略及其大小限制的摘要。

关于iphone - iPad 中允许的最大缓存,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10514855/

相关文章:

iphone - 您如何将时间用作核心图图中的轴?

iphone - 错误 "Application tried to push a nil view controller on target <UINavigationController: 0x498efa0>."是什么?

iphone - 为什么我不能在不使用 self 的情况下初始化我的变量

iphone - iOS 开发 : Push notifications prevent my local notifications from firing

ios - UIAlertController 中的 UIPickerView 仅在 iPad 中给出错误,而在 iPhone 中正确?

iphone - 在 icloud 中存储 sqlite 数据库?

iphone - 显示多个注释之间的路线

iphone - 如何自定义UIAlertView?苹果会批准吗?

iphone - 如何添加 NSViewBoundsDidChangeNotification

ios - 如何使AWS框架在Xcode 11中工作?