README in cachetastic-1.2.3 vs README in cachetastic-1.2.7.1
- old
+ new
@@ -9,14 +9,13 @@
# this will dump into the log, configuration info for each cache, as well as the .inspect
# for each object returned from the cache
debug: true # true | false (default: false)
# this is the type of file store to be used for this cache.
# more adapters can be developed and plugged in as desired
- adapter: local_memory # local_memory | memcache | file | drb (default: local_memory)
+ adapter: local_memory # local_memory | memcache | file | drb | html_file (default: local_memory)
# this will marshall objects into and out of the store.
- # so far yaml is the only supported marshall format.
- marshall_method: none # none | yaml (default: none)
+ marshall_method: none # none | yaml | ruby (default: none)
# this sets how long objects will live in the cache before they are auto expired.
default_expiry: <%= 24.hours %> # time in seconds (default: 24 hours)
# when setting objects into the cache the expiry_swing is +/- to the expiry time.
# example: if the expiry time is 1 hour, and the swing is 15 minutes,
# objects will go into the cache with an expiry time sometime between 45 mins and 75 mins.
@@ -51,13 +50,10 @@
# this sets the level of logging for this cache
level: error # debug | info | warn | error | fatal (default: info)
# set the servers to be used for memcache
servers:
- 127.0.0.1:11211 # ip:port used for memcache
-
-# if using the mongrel_page_cache_handler gem, you can configure it to use cachetastic.
- page_cache_storage: cachetastic # disk | cachetastic (default: cachetastic)
# example of how to override options for page cacheing:
cachetastic_caches_page_cache_options:
default_expiry: <%= 1.hour %>
expiry_swing: <%= 15.minutes %>
@@ -69,10 +65,10 @@
=Cachetastic::Drb::Server
If you want to use Drb and the Cachetastic::Adapters::Drb adapter, you'll have to use the Cachetastic::Drb::Server that comes with Cachetastic. Using this server is simple. It gets installed as a binary when you install the Cachetastic gem.
$ cachetastic_drb_server # that will start the drb server on the host 127.0.0.1 on the port 61676
-The server takes to command line parameters: -h <host> -p <port>
+The server takes to command line parameters: -h <host> -p <port> -v <verbose> -rv <really verbose>
=Examples:
class MyAwesomeCache < Cachetastic::Caches::Base
end
\ No newline at end of file