I found a simpler solution and then used the version file.
Since I used require.js for the project, it turns out that require.js has a built-in method for managing javascript files: I use: "urlArgs:" bust = v3 "," ...
Segment from main.js file:
require.config({ baseURL: '.', urlArgs: "bust=v3", paths: { underscore : 'lib/underscore', backbone : 'lib/backbone', babysitter : 'lib/backbone.babysitter',
source share