[symfony-users] Re: advanced caching

2007-08-31 Thread Myke Hines
Oriol, No you will have to upgrade your entire symfony version to the 1.1 trunk. Many many things have been refactored in the trunk so you can't just take a few classes. It wouldn't be hard for you to hack together your own version of sfFunctionCache that accepts a lifetime parameter. myke

[symfony-users] Re: advanced caching

2007-08-31 Thread Oriol Mercadé
That was exacly what i was expecting to hear! :) does that change have a lot of dependencies or i can try tu update the class and cross my fingers until 1.1 is released? thank you very much! On 8/31/07, Francois Zaninotto <[EMAIL PROTECTED]> wrote: > > The sfFunctionCache has been refactored in t

[symfony-users] Re: advanced caching

2007-08-31 Thread Francois Zaninotto
The sfFunctionCache has been refactored in the trunk version, and it now allows not only to set a lifetime, but also to use various storage strategies (in memory, in a cache, in a database). So if you want this feature, I suggest you either wait for the 1.1 orelease or become one of the early beta

[symfony-users] Re: advanced caching

2007-08-31 Thread Oriol Mercadé
it seems that it doesn't look at the cache.yml of the app nor the module, remember that it is cache using php code... thank you anyway... On 8/31/07, Eno <[EMAIL PROTECTED]> wrote: > > > > On Aug 31, 7:22 am, "Oriol Mercadé" <[EMAIL PROTECTED]> wrote: > > > now the question: > > it would be very n

[symfony-users] Re: advanced caching

2007-08-31 Thread Eno
On Aug 31, 7:22 am, "Oriol Mercadé" <[EMAIL PROTECTED]> wrote: > now the question: > it would be very nice to set a lifetime of the cached results so we don't > have to bother cleaning cache manually or via cron... > We took a look into sfFunctionCache class and it's parents, but we don't > find