Coder Social home page Coder Social logo

Comments (3)

andresmoschini avatar andresmoschini commented on May 2, 2024 1

Probably the route versioning could work, I will research, thanks for your advice!

from blog-posts.

tiangolo avatar tiangolo commented on May 2, 2024

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.

github-actions avatar github-actions commented on May 2, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.