I have a little ASP.NET Core web app, which has a React front end to it. Pretty much out of the box "New Project" from the VS2017 wizard and then added to.
I've now got this deploying through our build and deploy systems, and the ASP.NET Core DLLs have the build version set from the build server.
When I deploy, however, the React front end doesn't reload properly and new features don't appear. I have to ask users to ctrl-F5 to get that to update.
I added version change detection (added an API call on a controller), and window.location.reload()
when it sees that client side, but then it still pulls the client files from the cache.
Can I add the version number to the urls, or to webpack or similar to force a get from the server?
UPDATE: Cache busting with create react app seems relevant. I might try that...