Jifty::CAS::Store::LocalFile - A local file backend for Jifty's CAS
This is a local file backend for Jifty::CAS, which provides a durable backend, unlike Jifty::CAS::Store::Memory and Jifty::CAS::Store::Memcached. For more information about Jifty's CAS, see "DESCRIPTION" in Jifty::CAS.
Configuration requires providing a directory which is writable by the web user:
framework: CAS: Default: Class: 'Jifty::CAS::Store::LocalFile' Path: %var/cas%
Stores the BLOB (a Jifty::CAS::Blob) on disk. Returns the key on success or undef on failure.
Returns the most recent key for the given pair of
NAME, or undef if none such exists.
Returns a Jifty::CAS::Blob for the given pair of
KEY, or undef if none such exists.
Since presumably the files on disk will not simply vanish, the local file store is durable.