We have an app with combination: Angular5 + ASP.NET WebApi.
Supported browsers would be: Google Chrome, IE11+
After deployment to production with some changes to the client code the end users might still have old code cached somewhere. What is the solution to that ? Lets assume that client and backEnd releases are already versioned and we have access to that information.
One option would be to force the browser to clear its cache after the code detects that the version changed(Here the question would be as to how to do that). Another to maybe inform the user to clear the cache because the version changed (workaround).
What is the best way to tackle this problem ? I guess this is a pretty common scenario but I can't seem to find any good materials on the web on how to achieve this.
Regards