Thank you

I use:
// clean only outdated
$cache->clean(Zend_Cache::CLEANING_MODE_OLD);

for cache files already created, I have to rm manually

On 12/06/07, Fabien MARTY <[EMAIL PROTECTED]> wrote:
Hi,

2007/6/11, Superbiji <[EMAIL PROTECTED]>:
> > I'm using Zend Cache with file backend, and now i got many file in /tmp
> > /tmp/zend_cache---uptime---1181276589
> > /tmp/zend_cache---uptime---1181293819
> > /tmp/zend_cache---uptime---1181535827
> > /tmp/zend_cache---uptime---1181276664
> > /tmp/zend_cache---uptime---1181293836
> > /tmp/zend_cache---uptime---1181537149
> > /tmp/zend_cache---uptime---1181276676
> > /tmp/zend_cache---uptime---1181293878
> > /tmp/zend_cache---uptime---1181537172
> >
> > how to do cleanup for those files?

To clean :
http://framework.zend.com/manual/en/zend.cache.theory.html#zend.cache.clean

If you don't want cache files been stored in /tmp, you can set the
cache_dir in fileBackend options :
http://framework.zend.com/manual/en/zend.cache.backends.html#zend.cache.backends.file

Reply via email to