also if you do not need/want the associated models you can user recursive = 0 or -1 (I forget which) to have cake not even try t oget them...
On 8/29/06, DJ Spark <[EMAIL PROTECTED]> wrote: > > Hi sonic, > > In debug mode > 0 , cakephp caches models for a few seconds (20 sec) > . In production mode, it's much longer (a day ? i'm not sure). > Besides that, this thread goes deeper on optimization issues: > > http://groups.google.com/group/cake-php/browse_thread/thread/75ecc8bee3f7ddfe/0572659f27913ca2 > > spark > > > > On 8/29/06, Sonic Baker <[EMAIL PROTECTED]> wrote: > > Update: > > > > Something strange is happening. If I refresh the page both the number of > > queries and time changes. Ok the time changing is expected, but the number > > of queries??? > > Is this something to do with caching? > > > > > > Cheers, > > > > Sonic > > > > > > > > > > -- > [web] http://synapsisdi.com.br > [livesets] http://djspark.com.br > > > > -- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
