I want to be able to auto-version these in SharePoint and I'm looking for the best solution.
SharePoint does it with some of it's files. For example:
<link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/Themable/search.css?rev=Uoc0fsLIo87aYwT%2FGX5UPw%3D%3D"/>
Notice this ?rev=Uoc0fsLIo87aYwT%2FGX5UPw%3D%3D at the end of the URL.
I want to do the same with my custom css and js, but can't find the right control to make this happen besides manually modifying the extension.
Basically to force browser cache to invalidate when a new CSS or js is changed. No more CTRL-F5 for a user to ensure they have the latest.
Another SO question on what this is: https://stackoverflow.com/questions/438821/what-does-do-in-a-css-link/438828#438828
I've looked at controls such as CSSRegistration.Register(), but there doesn't appear to be an option.