chriseppstein/compass — Issue #608: Allow cache-busting params to be added to CSS output files
Author: jpcody
Created: 2011-10-26 00:21:54+00:00
State: open

Perhaps this is already available, but it seems it'd be valuable to extend the asset_cache_buster for images to the compiled CSS files Compass/SASS creates. This would look like simply outputting to path_to_compile_to.css?timestamp.

It makes sense to me to provide an option to do this on the Compass end because Compass is acutely aware of when CSS changes, thus, the cache needs to be busted. Additionally, a Compass project could be as simple as a standalone HTML site to a full-blown Rails app that'd have this functionality pre-baked.

And hey, maybe it's a terrible idea, but I wanted to bring it up. If it sounds like a good idea, I'd be happy to try my hand and submit a pull request, but you might have some code to rewrite :)