we need to change cache key to an action of a module - not the cache
key of o a partial in symfony 1.0.

On 7 Ott, 14:01, Eno <[EMAIL PROTECTED]> wrote:
> On Tue, 7 Oct 2008, DYNAMIC+ wrote:
> > we need to dynamically change cache key for a particular action that
> > depends
> > on different parameters.
>
> You can pass an array of parameters to a partial in your include_partial()
> call in your template, so you could generate a cache key by passing
> 'sf_cache_key' => 'key name' in your parameters array.
>
> You will also need to edit your cache.yml file and switch on caching for
> that partial rather than the whole action.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to