README in cachetastic-1.1.8 vs README in cachetastic-1.2.1
- old
+ new
@@ -8,22 +8,22 @@
cachetastic_default_options:
# 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 stores can be developed and plugged in as desired
- store: local_memory # local_memory | memcache | file (default: local_memory)
+ # more adapters can be developed and plugged in as desired
+ adapter: local_memory # local_memory | memcache | 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)
# 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.
expiry_swing: <%= 15.minutes %> # time in seconds (default: 0)
# these options get passed on directly to the store.
- # only the memcache store uses these options currently.
+ # only the memcache and file stores uses these options currently.
store_options: # listed below are options for memcache
c_threshold: 10_000
compression: true
debug: false
readonly: false
\ No newline at end of file