Thanks for your answers. I played around with the duration option -
Cache::config('_cake_core_', array('duration' => 1000) and
Cache::config('_cake_model_', array('duration' => 1000) but it had no
effect, the model cache seems to be rebuild every 10 seconds, which I
found out in cake/libs/model/datasources/datasource.php, line 389 :
$expires = "+10 seconds";

After changing that to $expires = "+1 day" my app is a lot faster now
for local development :-) if anybody knows how to set that in the
config/core.php, I'd be happy to know !

On Aug 17, 6:50 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> Or you could set Cache::config('_cake_core_') in core.php to your own
> settings.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to