Increase iPad Cache 10 MB

We have a web application that is supposed to work offline on iPads . It uses a manifest to determine which files to cache. The fact is that we have reached the limit of 10 MB, which the iPad must store in these files, and we need to add even more files to the list.

Is there a way around this limitation or store files in any other way? Please note that switching to native is not an option at the moment.

+6
source share
2 answers

You can watch .

Try repeating the process of increasing the manifest in chunks less than 5 MB before updating the cache with window.applicationCache.update() , and you will have to go through the 10mb limit

0
source

as I understand it, you can do the trick as follows:

cache.manifest is a file generated using PHP, in the first generation it returns a list of files less than 5 MB and sets the cookie flag. the client side of the script on 'cached' checks if a cookie is set and calls window.applicationCache.update() , so the PHP code starts again, it checks if a cookie is set and returns the full cache.manifest file, updates the cookie flag

0
source

Source: https://habr.com/ru/post/896691/


All Articles