4 ms·
If you look at anything in the technology stack it's all about redundancy, why would you not be leaping at the chance for your web page have a redundancy for it
by Already__Taken 10y ago
If you look at anything in the technology stack it's all about redundancy, why would you not be leaping at the chance for your web page have a redundancy for its very connection?
Power (backup batteries, generators)
Servers (multiple power supplies, storage, memory, NICs)
Datacenters (multiple servers, internet connections, power suppliers)
All this to serve an app site, why stop at the first connection hiccup.
- firasd 10y agoThe thing is that batteries are usually stateless (is there power or not?) whereas if you're handling offline vs online mode you are going to have to sync changes and that's a mind#!%$. You know the line about the two hard problems in CS being cache invalidation and naming things, well now you're dealing with cache invalidation squared. (I did make a demo of how using React & Redux can help sync UI state from offline to online but it's not a comprehensive solution https://medium.com/@firasd/interface-from-data-using-react-to-sync-updates-and-offline-activity-across-devices-f672b213701c https://medium.com/@firasd/interface-from-data-using-react-t...)