We are building an HTML5 website that has an eBook reader built in. One of the main features of the website is that the user should be able to access the books that were downloaded while he/she is not connected to the internet. This functionality should be available on all tablets, Chrombooks, and desktops.
My questions are:
- Is there a way for the user to be able to read the books even though the internet is gone? I realise that there is support for local storage but what happens if the user closes the tab while he/she is offline?
- Are there any local storage constraints? We will rely on the user being able to store books, and many of them (could exceed 3-400 MBs)? Can we force store this data without it being purged? As in, storing it somewhere other than the temp folder?
The main question is, how do I cold load the website from an offline machine right after launching the browser assuming I have all the local data available in the local storage from the last session.