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 DOMAIN and NAME, or undef if none such exists.
DOMAIN
NAME
Returns a Jifty::CAS::Blob for the given pair of DOMAIN and KEY, or undef if none such exists.
KEY
Since presumably the files on disk will not simply vanish, the local file store is durable.
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.