XF 1.5 Figuring out queries..


Well-known member
Hello all,
Dubious question really but is there a way of working out what queries are requested on any given page load?
I ask because I am trying to cut back on add-ons and trim the fat, doing well so far as site speed on desktop is very good, even though very buggy in Firefox :p
However mobile is very quick, but I know it can be faster. (it's on 88 or so) and have had 95 before.

So with debug enable here are my stats;
Timing: 0.6153 seconds Memory: 32.558 MB DB Queries: 144

Just wondering is there a way of being able to work out what actually the 144 queries are?
Would appreciate any tips and pointers.

Many thanks in advance..


Well-known member
144 queries is on the high side. You can view the queries by clicking on the time link at the footer of your forum.



Well-known member
Yes it's clickable, but only refreshes the page. I have seen this behaviour with many other people too who also faced the same issue of timings not displaying anything.


Well-known member
No, just reloads the forum index.
I have seen this all over XF and it seems a lot can't get anything else either....

Chris D

XenForo developer
Staff member
There was what appeared to be an unfixable bug in my Enable Debug from Admin Home add-on which exhibited this behaviour.

The workaround is to enable debug mode in config.php the traditional way but my add on will properly disable it when you toggle it off in the Admin CP.