The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Queries & templates question
Hi folks,
I was just curious what the concequentes are, when I remove from the showthread.php file the reference to un-used templates. For example: I am not using the following templates in my postbit: postbit_useremail,icq,aim,yahoo. So when i remove these templates from the "$templatesused =" section from showthread.php, will it mean that the pages will load faster? Resulting in less queries? Will it be faster? Best & thanks for replying! /Aaron |
#2
|
||||
|
||||
kind of
As the templates are listed in the "$templatesused" variable, they are all called using one query, so you don't get any additional queries there. What you do get is a query that's not as long, as it doesn't have to fetch as much. It will probaly make a tiny difference. Just don't forget it, if you ever do use those functions. |
#3
|
||||
|
||||
Thanks Colin, to test it, I removed the Templates (in showthread.php) just to see if it would make any difference. And ackwardly enough, i think it doesn't speed up at all. It feels like its slower. The queries remain indeed the same, but the microstats hack I use tells me the MYSQL server needs to work harder. Hmmm
|
#4
|
||||
|
||||
Questions about modifying vBulletin's default behaviour and asking about modifications in general, should be posted in General vBulletin Questions. Please read the forum descriptions more carefully in future. I've moved your thread there for you
Thanks, - Dean |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|