README in cachetastic-1.1.3 vs README in cachetastic-1.1.8
- old
+ new
@@ -9,11 +9,11 @@
# 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 (default: local_memory)
+ store: 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)
@@ -27,9 +27,11 @@
c_threshold: 10_000
compression: true
debug: false
readonly: false
urlencode: false
+ store_options: # listed below are the options for file
+ dir: /cachetastic/caches/ # absolute path to the directory where caches should be stored.
# configure logging for this cache:
logging:
# n number of logs can be configured for a cache
# their names can be anything you want, it's doesn't matter
logger_1:
\ No newline at end of file