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