I am attaching several js files to the listform webpart property JSLink. They are seperated by the pipe (|) character. The scripts work fine. But everytime I make a change to the js file, I have to do CTRL+F5 to see the changes. This is not a viable solution where lets says that we deploy a Phase 2 of a project which is used by customers. After the Phase 2 deployment, customer still sees the old form ui and has to press CTRL+F5 once in the listforms to see the changes. This would work for one or two customers but not in the case of 100 odd users, asking them to do CTRL+F5.
My scripts are stored in SiteAssets library. I have read that adding a timestamp to the end of the js file would cause it to refresh every time the page is loaded. But I tried that and it does not work (~sitecollection/mysite/siteassets/foo1.js?ts=new Date.getTime()|~sitecollection/mysite/siteassets/foo2.js?ts=new Date.getTime()).
The only other thing to make it work was to do iis reset. But this may not be an acceptable solution in production where business users are working on different sites and experience loss of data.
Kindly do let me know how to resolve this?