开发者

Increase iPad 10MB cache limit

We have a web application that is supposed to work offline on iPads. It's using manifest to define which files need to be cached. The point is that we have reached the 10MB limit the iPad has to store those files, and we need to add even more files to the list.

Is there any workaround to increase this limit, or store the 开发者_如何学JAVAfiles in any other way? Note that going native is not an option at this moment.


You could take a look at this.

Try repeating the process of increasing the manifest in chunks less than 5MB before updating the cache with window.applicationCache.update() and you should be able to pass the 10mb limit


as i understand you can do trick like this:

cache.manifest is a file generated with PHP, on first generation it returns file list less then 5Mb and sets a cookie flag. client side script on 'cached' event checks if cookie set and calls window.applicationCache.update() so PHP code runs again it checks if cookie set and return full cache.manifest file, updates cookie flag

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜