View Full Version : index.php takes long to load.
newguy
08-14-2011, 06:14 PM
My forums index.php takes about 3.5 seconds to load once you get to into thread or your usercp or other links into the site its under one second to one second.
How can I investigate to see if there is anything I can do or whats the hold up?
Thanks
BirdOPrey5
08-14-2011, 08:27 PM
You can put your forum in debug mode (https://www.vbulletin.com/docs/html/main/debug_mode).
On each page it will tell you how long it took to generate the page... You can then confirm if the index really is taking a lot longer or not. It could be some kind of 3rd party/external content slowing your page.
If debug mode does show the page generation taking a long time it will also tell you if you have any un-cached templates (they'd be in red) and other possibly valuable info.
You should close your forum before turning on debug mode.
newguy
08-15-2011, 12:47 AM
You can put your forum in debug mode (https://www.vbulletin.com/docs/html/main/debug_mode).
On each page it will tell you how long it took to generate the page... You can then confirm if the index really is taking a lot longer or not. It could be some kind of 3rd party/external content slowing your page.
If debug mode does show the page generation taking a long time it will also tell you if you have any un-cached templates (they'd be in red) and other possibly valuable info.
You should close your forum before turning on debug mode.
Thanks you and I will head that way when my forum is slow and close it.
newguy
08-16-2011, 08:16 AM
Page generated in 3.17348790169 seconds with 18 queries, spending 2.67415237427 doing MySQL queries and 0.49933552742 doing PHP things.
Doing this is new to me I am unsure what to do or look for next.
I did find a page that shows each sql query. At least I think that is what it is.
BirdOPrey5
08-16-2011, 09:51 AM
OK, but now compare the results to one of your "fast" pages- is there much of a difference?
newguy
09-01-2011, 12:19 AM
OK, but now compare the results to one of your "fast" pages- is there much of a difference?
Got it all worked out, and I just installed your https://vborg.vbsupport.ru/showthread.php?t=268967 thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.