Currently, our system is keeping the tab open on customers’ computers for a long time and this has become a problem. When we upload updates to production, this client needs to press F5 to receive the updates. However, as he doesn’t log out, he doesn’t get updates and reports problems that no longer exist.
How can I solve this problem? I need some way that when production receives updates, these clients have their tab cache reset or other options.
Note: I use NextJs and I am hosting my system on IBM Cloud.
I haven’t tried anything concrete yet, I thought about uploading a json with a version inside, which will compare the current version with the production version and somehow, when it’s different, clear the client’s browser cache so they can receive the update.
user25713255 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.