3 ms·
> so now I have to keep a tab open in safari constantly… You can close the tabs and re-open any number of books without an Internet connection. The books will
by marvindanig 8y ago
> so now I have to keep a tab open in safari constantly…
You can close the tabs and re-open any number of books without an Internet connection. The books will work normally.
That is the whole point of offline-first!
- Angostura 8y agoHow? by trawling through History?
- bunderbunder 8y agoI'm guessing it's something like readthedocs.io, where you can navigate to that url when you're offline, and it'll give you a somewhat restricted UI that lets you browse any documentation that you've downloaded for offline reading.
- sonicaa 8y agoWe load the entire book in one shot and offline it immediately using a service-worker [0]. Feel free to test it! Bookmark the url and turn off the Internet. Now close the tab, hard refresh or restart your computer if you want to test that far. Reopen your browser and open the bookmarked url and the book will open up on the last page you were on and work normally with full UX/UI without Internet connection. [0] https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...