I have a folder, which contains html files, images, stylesheets, and js.
I have uploaded it to the server and when i open it on ipad, all the content should get stored on iPad for offline viewing. How can this be done using webstorage / local storage?
I tried with offline cache but it has its limit of 5MB
I have a folder, which contains html files, images, stylesheets, and js. I have
Share
Your webserver has to support this by adding
to your .htaccess or server config.
then you need a manifest file, which says the client “store these files locally”. Just create a blank file call it something like “data.manifest” and add this:
There are many more things you can do in this manifest file. I consider using Google or the search for this.
At least you have to edit your
<html>-tag for your manifest file to your site.That’s it. The browser should ask you whether it should store data locally.