README.rdoc in rack-less-1.2.1 vs README.rdoc in rack-less-1.3.0
- old
+ new
@@ -72,9 +72,15 @@
- :*whitespace* - remove extraneous whitespace only.
* .*combinations* [{}]
- Directives for combining the output of many stylesheets and serving them as a single resource.
+* .*combination_timestamp* [false]
+ - Directives for timestamping (cache-busting) while using combinations
+ - :*false* - don't explicitly add timestamps
+ - :*true* - add Time.now.to_i as the explicit timestamp (will never cache)
+ - :*<any other value>* - add the value as "foo.css?<value>" (use something like a File.mtime to cache-bust like Rails does)
+
=== Combinations
At times, it is useful to combine multiple stylesheets and serve them as one resource. For example you may have two sets of stylesheets: one for traditional web views and one for mobile web views. Rails' provides the :cache option on 'stylesheet_link_tag' helper to provide this function, ie:
stylesheet_link_tag 'reset', 'common', 'app_web', :cache => 'web'