Re: [symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-20 Thread Nicolas CHARLOT
Le 18 janv. 2010 à 15:35, Eno a écrit : > On Mon, 18 Jan 2010, Nicolas CHARLOT wrote: > >> I need to store 2 versions of a same action depending on user status >> (authenticated and member or not). >> >> The solution I founded was to write my own viewCacheManager: >> It works but all actions ar

Re: [symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-18 Thread Eno
On Mon, 18 Jan 2010, Nicolas CHARLOT wrote: > I need to store 2 versions of a same action depending on user status > (authenticated and member or not). > > The solution I founded was to write my own viewCacheManager: > It works but all actions are cached twice and it's not necessary. I'm looking

Re: [symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-18 Thread Nicolas CHARLOT
Le 18 janv. 2010 à 08:43, Alexandru-Emil Lupu a écrit : > Check here: > > http://www.symfony-project.org/book/1_2/12-Caching > > Some of the things that can be found in 1.2 are still valable in sf 1.4 Ok, but I don't see how slots can help for my purpose. I need to store 2 versions of a same

Re: [symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-17 Thread Alexandru-Emil Lupu
Check here: http://www.symfony-project.org/book/1_2/12-Caching Some of the things that can be found in 1.2 are still valable in sf 1.4 On Mon, Jan 18, 2010 at 9:27 AM, Nicolas CHARLOT wrote: > Le 18 janv. 2010 à 08:09, Alexandru-Emil Lupu a écrit : > > You could use slots if your layout is not

Re: [symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-17 Thread Nicolas CHARLOT
Le 18 janv. 2010 à 08:09, Alexandru-Emil Lupu a écrit : > You could use slots if your layout is not differing too much. > Hi Alexandru, Could U explain a bit more? Nicolas CHARLOT-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to thi

Re: [symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-17 Thread Alexandru-Emil Lupu
You could use slots if your layout is not differing too much. sent via htc magic On Jan 17, 2010 11:39 PM, "Nicolas CHARLOT" wrote: Hi, For this project I'm using Sf 1.2, but soon 1.4. I need to get 2 cache versions of a few actions (but not all): - 1 for anonymous users, - 1 for authenticate

[symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-17 Thread Nicolas CHARLOT
Hi, For this project I'm using Sf 1.2, but soon 1.4. I need to get 2 cache versions of a few actions (but not all): - 1 for anonymous users, - 1 for authenticated users. Do I have to write my own ViewCacheManager? Thanks. Nicolas CHARLOT-- You received this message because you are subscribed

[symfony-users] Best way to get 2 cache versions : anonymous / authenticated users

2010-01-17 Thread Nicolas CHARLOT
Hi, For this project I'm using Sf 1.2, but soon 1.4. I need to get 2 cache versions of a few actions (but not all): - 1 for anonymous users, - 1 for authenticated users. Do I have to write my own ViewCacheManager? Thanks. Nicolas CHARLOT -- You received this message because you are subscribed