![]() |
![]()
| ![]() |
![]()
NAMEJifty::CAS::Store::LocalFile - A local file backend for Jifty's CAS DESCRIPTIONThis 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% METHODS_store DOMAIN NAME BLOBStores the BLOB (a Jifty::CAS::Blob) on disk. Returns the key on success or undef on failure. key DOMAIN NAMEReturns the most recent key for the given pair of "DOMAIN" and "NAME", or undef if none such exists. retrieve DOMAIN KEYReturns a Jifty::CAS::Blob for the given pair of "DOMAIN" and "KEY", or undef if none such exists. durableSince presumably the files on disk will not simply vanish, the local file store is durable.
|