I want to ensure users always get the latest version of my code. However setting it up so that browsers do not cache the files is bad as it would need to be loaded fresh every page view. I want to ensure it doesn't use a cached copy from a previous release.
One way I have seen involves changing the filename on each release, but don't know how to do it for index.html? I have couple of js files in index file.
<script language="JavaScript" src="js/gen_validatorv31.js" type="text/javascript"></script>