When I use javascript_include_tag
or stylesheet_link_tag
to include files, they have a number at the end to make it easier to circumvent browser caching (update the file without changing the number, the browser still uses the cached version; change the number, the browser will download and use the updated file).
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.