Append hash to generated file
It would be nice to have a hash appended to the generated file so for caching purposes when serving the files for web. The hash would only change if the contents of the file change, so you could, theoretically, put an infinite caching time on all js/css assets.
Thoughts?
Maybe as an option. Seems like a decent idea.
+1
It would be nice if the generated hash was stored in the config file as well so it can be used within an app.
+1 Please take a look at https://github.com/sstephenson/sprockets how they handle hash and storage of hash. It took them a long time to nail it and this is one of the things that are really well done in rails.
The important thing, as dawnerd said, is to create a config file containing the mappings from css name to hashed name, but please don't modify the existing one.