![]() |
Having Speed Issues with <if> statement
I am trying to run some things in my template based on the page it is on.
I have been using <if condition="THIS_SCRIPT == 'index'"> I have one for index, showthread and forumdisplay. In both the header and the footer(2x3 for a total of 6), this slows down the loading of the page TREMENDOUSLY. Is there any other faster way to do this? Please let me know. |
Using conditionals shouldn't slow down your forum, especially if it's just comparison.
|
Well its not any other conditionals, just these specifically. It is slowing it down dramatically, probably 2-3 seconds if not more. I have tested it several times with and without these, the other conditionals seem to be fine. Any suggestions?
|
Those are really simple conditions - there are probably thousands if not more that run in the vB. code on every page load. 2 more does nothing.
|
All times are GMT. The time now is 08:35 PM. |
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:
|