Closed pganssle closed 9 months ago
I looked into this a bit, and I think the easiest thing to do here will be to make the page a Progressive Web App with service workers.
I'm a little concerned with files unexpectedly getting ejected from the cache, but the footprint of the app is pretty small (I think probably 3-4MB in assets), and having it mostly work offline is better than having it not work offline at all.
Done.
Ideally this would be available offline. I don't know about iOS's ability to save a website for offline (I think it just saves it in Reading mode because Apple is awful), but even in Android there are resources that are loaded only after the page has fully loaded, and I think those don't end up cached.
I have spent only a little time on this, but ideally this shouldn't be something you need internet connection for. If it's easy enough to just make web pages into Android/iOS apps, that might be a solution as well.