===================== Adapter Configuration ===================== Note that the config keys for the Solar_Cache class are logically separate from the config keys for its adapter classes. This means you can configure the Solar_Cache, Solar_Cache_Adapter_File, Solar_Cache_Adapter_Memcache, and all the other adapter classes separately within the config file, and Solar will use those options respective to each separate adapter class. For example, you can do this in your config file... {{code: php $config = array(); $config['Solar_Cache_Adapter_File'] => array( 'path' => '/tmp/Solar_Cache', 'life' => 1800, ); $cache['Solar_Cache_Adapter_Memcache'] => array( 'life' => 300, ) return $config; }} ... and then instantiate a cache with just one call (because the config file already has the options defined for you) like this: {{code: php require_once 'Solar.php'; Solar::start('/path/to/config/Solar.config.php'); // create a cache object using the file adapter $file_cache = Solar::factory('Solar_Cache', array( 'adapter' => 'Solar_Cache_Adapter_File' )); // create a separate cache object using the memcache adapter $mem_cache = Solar::factory('Solar_Cache', array( 'adapter' => 'Solar_Cache_Adapter_Memcache' )); }}