Hi

Tags are not supported for the APC backend. See here:
http://framework.zend.com/manual/en/zend.cache.backends.html

Best regards
holo




2011/3/3 Vincio <vin...@gmail.com>

> Hi,
> I'm going crazy trying to delete a specified tag.
>
> I'm doing something like this:
>
> $frontendOptions = array('automatic_serialization' => true);
> $backendOptions = array();
> $tag = 'myTag';
> $cache = Zend_Cache::factory('Core', 'APC', $frontendOptions,
> $backendOptions);
> $cache->save($myData, $tag);
>
> Then, when I want to clean it I do this:
>
> $frontendOptions = array('automatic_serialization' => true);
> $backendOptions = array();
> $tags = array('myTag');
> $cache = Zend_Cache::factory('Core', 'APC', $frontendOptions,
> $backendOptions);
> $cache->clean('matchingTag', $tags);
>
> but it doesn't do any :\
> I tried with file, but it didn't work too.
> What's wrong?
>
> Thank you in advance
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Zend-Cache-cleaning-specified-tag-tp3333090p3333090.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to