![]() |
Query Count On Various Pages
I need an expert opinion on whether i have too many queries per page... here they are... please state wich pages have too may queries if you would please:
index.php: 30 queries register.php: 11 queries usercp.php: 23 queries register.php: 11 queries private.php: 11 queries showthread.php: 27 queries newthread.php: 12 queries newreply.php: 20 queries - miSt |
looks okay to me.
|
showthread will vary depending on how many posts ect, index at at the top margin. In general try to keep the number of queries bellow 30. If you site doesn't have large volumes of traffic then going over this limit a little won't have that much of an effect on the server.
|
How do I determine how many queries I'm producing without installing the microstats hack?
|
there's a line of code i noticed the other day in functions.php i think... its commented out... damn im gonna release this... pathetic excuse for my first hack lol
- miSt |
Quote:
|
Quote:
And @ the first poster - those numbers look good. |
turning debug on is a huge security risk i think or is it the other way round?
- miSt |
enabled debug mode is a security risk, you should turn it to off after you've done what you want ;)
btw: you should always be able to add $query_count into your footertable which should show you the ammount of querys |
Quote:
|
Among other things, I know that leaving debug mode on will allow people to see your server layout (directory structure) and the exact locations of vB files.
|
All times are GMT. The time now is 09:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|