Currently I do

<?php echo $this->element('tagCloud', array('cache'=>'+1 day')); ?>

Element 'tagCloud' :
<?php $this->requestAction('controller'=>'tag',
'action'=>'generateTagCloud'); ?>

What I would want to do is to have a cached element individual to each
user? So it could be like 'tagCloud_user1', 'tagCloud_user2',... & so
on. but I could n't find anything in the code that really does that?

Can some one pls shed some light here.

Thanks,

Ketan Patel wrote:
> Is there a way to cache elements separately for each user? Currently,
> since the element name is same, the cache is basically overwritten, I
> would prefer to cache the element individually. So that later on, I
> can delete the cache when an update is performed for that user,
> otherwise it is uses the cached view.
>
> Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to