Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Aug 2011, 19:14
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Question index.php takes long to load.

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
Reply With Quote
  #2  
Old 14 Aug 2011, 21:27
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You can put your forum in 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.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #3  
Old 15 Aug 2011, 01:47
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Originally Posted by BirdOPrey5 View Post
You can put your forum in 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.
Reply With Quote
  #4  
Old 16 Aug 2011, 09:16
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
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.

Last edited by newguy; 16 Aug 2011 at 09:25.
Reply With Quote
  #5  
Old 16 Aug 2011, 10:51
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
OK, but now compare the results to one of your "fast" pages- is there much of a difference?
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #6  
Old 01 Sep 2011, 01:19
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Originally Posted by BirdOPrey5 View Post
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 http://www.vbulletin.org/forum/showthread.php?t=268967 thanks
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:13.

Layout Options | Width: Wide Color: