application-cache

Mobile Safari 5mb HTML5 application cache limit?

五迷三道 提交于 2019-11-27 18:01:15
It's becoming evident in my testing that there's a 5mb size limit on Mobile Safari's implementation of HTML5's application cache. Does anyone know how to circumvent or raise this? Is there some unexposed meta tag that I should know about? I have to cache some video content for an offline app and 5mb is not going to be enough. I tried to write a simple test with this manifest: CACHE MANIFEST # 2010-06-20:v4 http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js http://peach.blender.org/wp-content/uploads/big_big_buck_bunny.jpg http://apod.nasa.gov/apod/image/9712/orionfull_jcc_big.jpg

Enable Application cache in WKWebView

杀马特。学长 韩版系。学妹 提交于 2019-11-27 08:57:46
I am aware that offline application cache is not supported in iOS WKWebView. This is enabled in Safari, so I searched webkit project for the responsible code & found this WKPreferences - (void)_setOfflineApplicationCacheIsEnabled:(BOOL)offlineApplicationCacheIsEnabled; Anyone familiar with this method? is it possible to enable app cache in iOS by accessing this private methods? (I am not going to ship the app to Appstore) Yes, we can enable App cache by accessing private API Create a category for WKPreferences and add to following method signature. @interface WKPreferences (MyPreferences) -

Mobile Safari 5mb HTML5 application cache limit?

扶醉桌前 提交于 2019-11-26 19:15:13
问题 It's becoming evident in my testing that there's a 5mb size limit on Mobile Safari's implementation of HTML5's application cache. Does anyone know how to circumvent or raise this? Is there some unexposed meta tag that I should know about? I have to cache some video content for an offline app and 5mb is not going to be enough. 回答1: I tried to write a simple test with this manifest: CACHE MANIFEST # 2010-06-20:v4 http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js http://peach

Enable Application cache in WKWebView

不想你离开。 提交于 2019-11-26 14:26:50
问题 I am aware that offline application cache is not supported in iOS WKWebView. This is enabled in Safari, so I searched webkit project for the responsible code & found this WKPreferences - (void)_setOfflineApplicationCacheIsEnabled:(BOOL)offlineApplicationCacheIsEnabled; Anyone familiar with this method? is it possible to enable app cache in iOS by accessing this private methods? (I am not going to ship the app to Appstore) 回答1: Yes, we can enable App cache by accessing private API Create a