I have a web app that uses require.js throughout (apart from a couple of CDN provided resources). I am using the optimize tool to create a 'published' site.
My concern is that when a new version of the web app is published users will not get updated js files, as they will be cached by the browser.
The problem is very evident when developing the app unless the 'urlArgs' config option is used.
The usual solution is to append a querystring of ?v=1.0 to the script references, but as they are all handled via require.js there is no way of doing this.
So, my question is how can I ensure clients download new versions of the js/css files when a new version is published?