I have an angular app into a war, deployed works fine. But sometimes it serves the correct files and sometimes not. Evaluating the app, I request for a file mifile.js, sometimes it returns the current file, but other times it gives me back the file of the previous version. I've tried with Postman and I realize that.
I have made a configuration in JBoss which puts an http-header to the file and reboots the server. Sometimes the current correct file is served with the custom http header, and sometimes it returns the previous file and without the http header since on that occasion it had not done that configuration (http header). Based on this I come to the conclusion that the Jboss loads the current configuration a few times, and other times the previous configuration.
Any have an idea how to resolve this?.