Class | Cachetastic::Adapters::File |
In: |
lib/cachetastic/adapters/file.rb
|
Parent: | Cachetastic::Adapters::Base |
An adapter to cache objects to the file system.
This adapter supports the following configuration settings, in addition to the default settings:
configatron.cachetastic.defaults.storage_path = ::File.join(FileUtils.pwd, 'cachetastic') configatron.cachetastic.defaults.marshal_method = :yaml
The storage_path setting defines the path to where cached objects are written to on disk.
See Cachetastic::Adapters::Base for a list of public API methods.