3
I am developing an application in Angular2 and I am facing a problem which is updating the files JS. When I update the version sometimes the browser does not load the new file, it uses the old one. I know if you put the version of the file at the end of the reference, like:
nomedoarquivo.js?v=1
works.
The problem is that in Angular2 the files are not referenced js directly on index.html as in Angular JS 1, the files JS are loaded through the Systemjs. Someone knows a way to force him to always carry the JS new, or Versionar the JS using the Systemjs?
The answer solves your problem?
– durtto