padrino/padrino-framework — pull request #1326 by Ortuna (2013-06-27 22:39:22+00:00)
Title: ability for cache_key to be a block

Ref #1064

- Allows cache_key to be block and get re-evaluated each request.
- API:

```ruby
get '/foo', :cache => true do
cache_key { param[:id] }
"my id is #{param[:id}"
end
```