Search code examples
javascriptjqueryjavascriptmvc

How to handle versioning of the app in JMVC/Can.js?


After you build the app, JMVC generates production.js and production.css. In case you want to set version numbers to avoid the user using the cached files, how do you do that? Eg., producing production.1.1.js and production.1.1.css or something similar.


Solution

  • This is really something you should be doing with your build process, not steal. Rename the file after it is generated.