Should have added, refresh your page within 10 seconds and you should see the caching does work.
-- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Sat, Oct 11, 2008 at 9:42 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi there, > > My controller includes eight models as follows, > var $uses = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'); > > When loading a view for the controller, it always DESCRIBE the above > eight TABLES (models) even the action (view) has nothing to do with > these tables. From the cakephp log on view, it is a big performance > hit for me. > > Q: > 1. is this by design? > 2. how to reduce these queries? > > I didn't get much helpful info from internet and cakephp official > site. I'd appreciate it if any help (or article link). > > Thanks, > Bo > > > -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---