Hi,
somehow element_unique is working now.
On Wednesday, September 4, 2013 3:00:17 PM UTC+5:30, Dinesh Kumar wrote:
>
> i have similar issue.here is my code:
> $this->element('app_images', array(), array('cache' => array('config'
> => 'default', 'key' => 'unique')));
>
> my cache named: cake_element_unique
>
> i have tried below methods but none of them work.
>
> Cache::delete('unique','default');
> Cache::delete('element_unique','default');
> Cache::delete('cake_element_unique','default');
>
> Thanks in advance,
>
>
>
> On Friday, January 6, 2012 5:13:55 PM UTC+5:30, Jeremy Burns wrote:
>>
>> What happens when you try 'element_unique'? Or if that fails,
>> 'cake_element_unique'?
>>
>> Jeremy Burns
>> Class Outfit
>>
>> http://www.classoutfit.com
>>
>> On 6 Jan 2012, at 11:18:07, Waterschaats wrote:
>>
>> I've successfully cached an element with in my layout.ctp:
>> $this->element('main_menu', array(), array("cache" => array('config'
>> => 'default', 'key' => 'unique')));
>>
>> which results in a cache file named: 'cake_element_unique'
>>
>> I can't delete this specific cache file using the following code in my
>> controller, what am I doing wrong?
>>
>> $key='unique';
>> Cache::delete($key, $config = 'default');
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> [email protected] For more options, visit this group at
>> http://groups.google.com/group/cake-php
>>
>>
>>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.