On Wed, 14 Oct 2009, [ISO-8859-1] Grégoire wrote:

> - when no user is authenticated, the cache is working fine.
> - when I log in, the sf_cache_key changes, so the cache is refreshed -
> > I don't want this behavior, since my cached data is not user
> dependent...
> 
> Is there a way to parameter the cache to not be user dependent? I've
> searched a such option in the book but I didn't find it... There's a
> "contextual" option that looks like what I want but it deals with
> actions, not users...

You can explicitly set the cache key so its always the same regardless of 
whether the user is logged in our not. By doing so, you make the caching 
independant of context.


-- 




--~--~---------~--~----~------------~-------~--~----~
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