I manage a website that heavily relies on javascript and ajax functionality. I have found ways to make users refresh their browsers upon initial loading, but what about after they have already been using the site?
I am looking to improve the speed of the ajax content served to users, but making changes could potentially lead to errors for those who haven't refreshed their browser. One solution I thought of is to prompt users with a popup asking them to manually refresh their browsers when a new version of the JavaScript file is needed.
However, I feel like requiring users to interact with a popup is not the most seamless approach. Is there a more efficient method to ensure that all clients receive updates without any manual intervention?