Re: Database connects without any queries

2010-03-30 Thread NdJ
Hi Cricket, Yes debug is set to zero - quite literally I get a connect followed by a quit while the controller retrieves its data via cache. N On Mar 30, 10:06 pm, cricket wrote: > Do you have debug set to 0? Cake sends a bunch of  DESCRIBE statements > otherwise. Is this what you're seeing? >

Re: Database connects without any queries

2010-03-30 Thread cricket
Do you have debug set to 0? Cake sends a bunch of DESCRIBE statements otherwise. Is this what you're seeing? On Mar 30, 5:23 am, NdJ wrote: > Hi, > > Recently I've noticed that CakePHP seems to cause a database connect > for each page load (when the controller uses a model) even if the page > do

Database connects without any queries

2010-03-30 Thread NdJ
Hi, Recently I've noticed that CakePHP seems to cause a database connect for each page load (when the controller uses a model) even if the page does not perform any database query. On the surface of things this might make sense. My concern is that I'm seeing database connects even when the data