with debug set to zero doesn't CakePHP cache the model views for 24 hours at a time? So, once you went live it is going to cache the model for 24 hours at a time. And if you don't need those models then why are you making associations for them?
You need to be careful using bindModel all over the place. Cause then instead of CakePHP building the association for use later it has to build it for each request you make. You can save yourself on the actual query by using the $recursive parameter. This will limit the SQL query to just the model (table) you are working on if set to zero. Also, Nate if you persist a model this would make the cache files permanent? So, only if you made field or association changes in the tables themselves would you need to clear the TMP\cache\model to have them rebuilt? (Or call it with the CakePHP clearcache method. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
