3 ms·
One approach which can work pretty well in many apps is having something like a CDN or Varnish which can serve stale content when the backend is unreachable. Th
by acdha 11y ago
One approach which can work pretty well in many apps is having something like a CDN or Varnish which can serve stale content when the backend is unreachable. That allows the code you need to bootstrap your app to be served as long as your edge cache is running and your JavaScript can some sort of retry+backoff for failed requests or even do things like check for image error states to trigger a reload.