Have you had success with other backends like File? Is it Sqlite-specific?

On 9/25/06, Philip Q <[EMAIL PROTECTED] > wrote:
Mislav Marohnić wrote, On 25/09/06 9.09 p:
> Is serializing data enabled in ZCache? Is the ResultSet defined (loaded)
> when you try to restore (unserialize) the cache?

It is. Here's the relevant code where I create it:

         $frontOpts = array(
             'caching' => $config->enableCaching,
             'lifeTime' => 3600,     // 24 hours
             'automaticSerialization' => true,
             'automaticCleaningFactor' => 1
         );

         $backOpts = array(
             'cacheDBCompletePath' => realpath('./caches').'/flickr.db'
         );

         return Zend_Cache::factory('Core', 'Sqlite', $frontOpts,
$backOpts);

-Phil


Reply via email to