Production build only shown after hard refresh
Hi there, I have an Node/React app deployed to App Platform. I am facing a problem when I deploy any changes, I am not served the new production build files. I am served files but nothing gets rendered on the page. If I open the chrome debugger, and right click on refresh to get empty cache and hard reload, my app begins rendering again. I’d guess I am being served old production assets, and they’re no longer valid? Not sure why. Anyone had this problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×