We recently applied a patch to our ERP system that updated HTML, JavaScript and CSS files. After applying the patch a large volume of users called the help desk to report loss of functionality on the menu page.
The root cause was due to the user's browser (IE11) holding an old JavaScript file in the browser cache. Pressing F5 on the keyboard or clearing the cache resolves the issue since it forces the new version of the JavaScript file to be downloaded from the server.
However, instructing each user on how to clear the cache is not an option as there are several hundred thousand users of the ERP system.
My question: are there any server side settings that would force the browser to load the newest JavaScript file from the server (Apache)? Is there a best practice for situations like these?
We are aware that the browser settings can be changed to always load a new fIle but there are concerns around impact on network and server performance. Also, we can not use autoversioning due to support restrictions.
Any thoughts are appreciated.