Hi,
Which version do you use and can you provide a complete (but little)
test script to try to reproduce your problem ?
Regards
2008/5/21 Ralf Kramer ZF <[EMAIL PROTECTED]>:
> Hi,
>
> I am running into some trouble with Zend_Cache. The problem is that the
> cache gets cleaned every now and then and I dont know why. Actually the
> cache should never get cleaned. Here is the code that I use to initialize
> the cache:
>
> $frontendOptions = array(
> 'lifetime' => null,
> 'automatic_serialization' => true,
> 'automatic_cleaning_factor' => 0,
> );
>
> $backendOptions = array(
> 'cache_dir' => PATH_TMP .'cache/',
> 'hashed_directory_level' => 1
> );
>
> $this->cache = Zend_Cache::factory('Core', 'File', $frontendOptions,
> $backendOptions);
>
> In the remaining code I only use
> $this->cache->load($identifier);
> $this->cache->save($identifier);
>
> I also moved the backend to memcached, but it also happens with this
> backend. I have some millions of records to be cached, I also has set the
> hashed_directory_level to 2 before...
>
> Best regards
> /Ralf
>
--
Fabien MARTY
[EMAIL PROTECTED]