3 ms·
Note that the static web serving is working normal, it's the back-end functions that seem to be affected. It's good practise generally to make your web app sta
by davidjgraph 14y ago
Note that the static web serving is working normal, it's the back-end functions that seem to be affected.
It's good practise generally to make your web app statically served and be fault tolerant to the back-end not being available, this is certainly required if you want to implement an offline mode.
- afandian 14y agoWhat do you mean having your web app statically served? Either it's a website, which can be static, or it's a web app, which cannot really. You can't get far with just JS. Did I misunderstand your comment?
- davidjgraph 14y agoOur web app - https://www.draw.io/ https://www.draw.io/. Entire thing is served statically. If you don't think you can do much with just JS, you're a few years out of date...
- afandian 14y agoI suppose it depends what you want to do. I wouldn't dream of allowing a JS app, in general, to run without the server working. This may not be the case in your particular JS app. Local storage or no local storage. I don't think it's too much of a stretch to say that most web apps depend on sessions.
- awj 14y agoSo I can load up your web app on my phone, do some work, then switch over to my laptop and pick up where I left off without noticing that your app server is down? I'd like to know how that works.