This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Adds support for passing a :cache parameter to action definitions, eg: | |
| # | |
| # get '/state_map/?', :cache => 'state_map' do | |
| # ... | |
| # end | |
| # | |
| # :cache can also simply be passed true, in which case the route definition is used as the base | |
| # key name. In all cases, any params are also included in the key. | |
| # | |
| # Author: ben tucker <[email protected]> |
NewerOlder