Skip to content

Commit

Permalink
Edited README.rdoc via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
roothybrid7 committed Mar 18, 2011
1 parent 30eeab4 commit 2831d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Expand Up @@ -111,14 +111,14 @@ This can be disabled with ENV variable: <tt>RS_CACHE=false</tt> , <tt>set :rs_li
$ cap invoke COMMAND='hostname' RS_CACHE=false

# disable cache config/deploy.rb
set :rs_lifetime 0
set :rs_lifetime, 0
# the other way
rs_disable :use_rs_cache

Conversely, to use cache to infinity with <tt>set :rs_lifetime -1</tt>.

# config/deploy.rb
set :rs_lifetime -1
set :rs_lifetime, -1

Cache clear task(needs after modifying the Capfile):

Expand Down

0 comments on commit 2831d94

Please sign in to comment.