Eno wrote:
> On Oct 7, 8:26 am, "DYNAMIC+" <[EMAIL PROTECTED]> wrote:
>
>   
>> we need to change cache key to an action of a module - not the cache
>> key of o a partial in symfony 1.0.
>>     
>
> Ah, OK. But symfony should automatically generate a unique cache key
> based on the URL - or do you need to set it explicitly to clear it
> later?
>
>
>
>
> >
>
>   
you can generate your own cache key (for all actions...) with the 
sf_cache_namespace_callable parameter wich take a callback that make the 
key.

Look at sfViewCacheManager::generateCacheKey()
 ;)

Yohan.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Yohan 'rouKs' GIARELLI
n:GIARELLI;Yohan
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to