nesquena/rabl — pull request #190 by databyte (2012-03-15 22:43:28+00:00)
Title: Caching per template and configuration for cache_all_output

for cache_all_output:

* all objects within a collection is cached
* all calls to builder.build are cached so this includes anything using object_to_hash (child, glue, and partial)
* added information to README under configuration section

for per template caching:

* added within the engine
* use the cache keyword to specify cache key
* README updated by adding a Caching section towards the bottom

testing:

* Rails 3 tests updated for posts only, left users to run without cache to verify existing functionality works without issue
* Rails 2 tests do not run for me locally, **DID NOT TEST**

test results: https://gist.github.com/2047424