After a release of a new UI version we need to refresh old html, css and js files from cache automatically, i've read that adding a query version (e.g ...js?v1) the browser ask to the server the current version, but to do that i need to modify the html files that are already in cache
I have also read many suggestions about using meta tags in html
<meta http-equiv="cache-control" content="no-cache" />
but in this way the browser always will ask the current version, this option means many server requests for the same file
I´ve tried using
windows.location.reload(true);
but it doesn't work either
Theres the a way using javascript to refresh disabling the cache