On Nov 6, 4:01 pm, Claudia <[EMAIL PROTECTED]> wrote:
> Hi there
>
> Thanks for your answers.
>
> I am not that worried about the number of queries although the 20 was
> just an example.
> Although on the index page of my website I would have around 200 extra
> queries which (during testing)
> sometimes causes a page delay of about half a second - not a huge
> problem but not very good.
Note that whatever the delay encountered when debug != 0 isn't so
important. There are things that get cached when debug is 0 and
refreshed when not, and also the code to log queries and show them
adds an overhead which is otherwise simply not there. If you have a
lot of fast queries, there will be a notable difference between debug
= 0 and debug = 2 just because of logging and rendering the debug
table.
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---