Situation:
- User has successfully logged in.
- Site undergoes an update.
- User holds cached html/js and accesses an old endpoint which causes chaos.
We often notice websites advising users to refresh their browsers after updates. But how is this typically accomplished?
I can envision two methods:
- Periodically check the database during navigation, compare version stored in Angular constant with version in the db. Notify if there's a mismatch.
- Possibly implement a SignalR scenario to push notifications even when the browser is inactive on the site.
Are there any other considerations? What would be the best approach based on our technology stack (see tags)?