4 ms·
Oh wait. The description makes it look like you can server your pages even when YOUR SERVERS are offline. But in fact, this script just saves stuff somwhere on
by joekinley 11y ago
Oh wait. The description makes it look like you can server your pages even when YOUR SERVERS are offline.
But in fact, this script just saves stuff somwhere on the client, so the client can see certain things even when THEY ARE offline.
Maybe I was the only one being this mislead.
Just, when I am a client and don't have internet, then I don't have the idea to still browse the internet.
So what are the ultimate goals for this "offline first movement"?
- joe5150 11y agoThe use case just from the demo on the first page looks reasonable: you're on an airplane (or a train or in a car far from civilization) and you want to look at your travel itinerary/hotel's address/see the check-in time. Granted, it's pretty narrow, but not out of the realm of possibility.
- tomaskafka 11y agoI can see one use case I sometimes encounter - that I return to an older tab in my mobile browser, but because I'm currently offline, or in 2G area, I don't see anything for a minute or more.
- jaffathecake 11y agoThis will also work when the site's servers are down. It serves offline content from the local cache if the original fetch fails - it can fail either due to your device's connection, the server, or anything in between. However, since offline content is served after trying the network, it's still going to be slow in flakey network conditions as you wait for the original request to either succeed or give up.