Comments (3)
Probably the route versioning could work, I will research, thanks for your advice!
from blog-posts.
That seems like a complex setup with very high availability requirements you're targeting at! 😅 🚀
If I had to do something like that, I would probably try to namespace assets by path, probably having the assets with the version of the app as part of the path, and putting a load balancer (e.g. Traefik) on top to forward to one set of containers under one path, and the new one for the new set of containers.
On the other side, you might want to disable the hash names in the built React app so that they are always available, and make sure to reduce the cache times. That might be an easier solution, it would mean that your app wouldn't be broken not even for seconds, but would also mean that it would also load more slowly, as it would not hit the local cache as often.
from blog-posts.
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.
from blog-posts.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog-posts.