In Rails, how can I force update the client's js/css files?
But where does this number come from? When is it updated? And how can I manually update it?
I'm still using Rails 2.3.9, but I guess answers for any version of Rails would be helpful since I couldn't find any.
Basically, in Rails 2, the number comes from the file's last modification date, and is added to the link as a query parameter. In Rails 3, it comes from a hash of the file's contents, and is added to the filename itself. The latter should be an improvement - see this page for more on the difference between the two.
Hope that helps!