compass
https://github.com/chriseppstein/compass
CSS
Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
Compass::Configuration::Data#asset_cache_buster
When called with a block, defines the cache buster strategy to be used.
If the block returns nil or a string, then it is appended to the url as a query parameter.
In this case, the returned string must not include the starting '?'.
The block may also return a hash with :path and/or :query values and it
will replace the original path and query string with the busted values returned.
The block will be passed the root-relative url of the asset.
If the block accepts two arguments, it will also be passed a File object
that points to the asset on disk -- which may or may not exist.
When called without a block, returns the block that was previously set.
To disable the asset cache buster:
asset_cache_buster :noneEdit
git clone [email protected]:chriseppstein/compass.git
cd compass
open core/lib/compass/configuration/data.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Compass--Configuration--Data-asset_cache_buster-for-pr
# Commit to gitgit add core/lib/compass/configuration/data.rbgit commit -m "better docs for Compass::Configuration::Data#asset_cache_buster"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Compass--Configuration--Data-asset_cache_buster-for-pr
hub pull-request
# Celebrate!