Class Cachetastic::Adapters::File
In: lib/adapters/cachetastic_adapters_file.rb
Parent: Cachetastic::Adapters::Base

This adapter uses the file system as it‘s backing. The configuration for this should look something like this:

 my_awesome_cache_options:
   debug: false
   adapter: file
   marshall_method: none
   default_expiry: <%= 24.hours %>
   store_options:
     dir: /usr/local/caches/
   logging:
     logger_1:
       type: file
       file: log/file_store_cache.log

Methods

delete   expire_all   get   set   setup   valid?  

Constants

STORE_FILE_NAME = "cache.yml"

Attributes

directory  [R] 
hashed_keys  [R] 

Public Instance methods

[Validate]