Hello list, how are you?
We have a doubt here, lets see if some of the list's gurus can answer it...
We have a function cached using
sfFunctionCache
you know... chapter 18 of symfony's book
"
$function_cache_dir = sfConfig::get('sf_cache_dir').'/function';
$fc = new sfFunctionCache($function_cache_dir);
$result1 = $fc->call('cos', M_PI);
$result2 = $fc->call('preg_replace', '/\s\s+/', ' ', $input);
"
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 a way.
Are we missing something or symfony really doesn't permit that?
Thank you in advance!
best regards.
--
- Oriol Mercadé Figueras
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---