Log in

View Full Version : Queries/Page


MrLister
02-01-2002, 12:49 PM
Anybody have a list of how many queries vB makes per page. Pages that are of importance such as index.php or showthread.php also forumdisplay.php. So anybody know how many queries in those every time somebody goes to them? (without hacks)

Admin
02-01-2002, 01:01 PM
Add &explain=1 to the end of every file to see that info (use vBulletin.com's forum since it's not hacked).

MrLister
02-03-2002, 03:09 AM
do the template queries use cache because more then half are templates

JamesUS
02-03-2002, 09:55 AM
Yes the template queries are supposed to use caches. Which site is displaying more than half template queries?

On an unhacked site there should be one query for templates per page.

Admin
02-03-2002, 01:06 PM
With hacked boards templates could be a real mess, only a week ago I checked this very board and it had more queries to get templates than other stuff. (fixed it of course) :)

MrLister
02-03-2002, 02:31 PM
Hehe the site that I'm working on. Some hacks from here, some I made. Got around 10 template queries :). To fix it I just add it to $templatesused right?

MrLister
02-03-2002, 03:13 PM
Lol get this. my showthread.php has 201 queries. :) gotta go fix that now

MrLister
02-03-2002, 03:30 PM
fixed now. problem was the number of posts in current forum hack.