vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   index.php takes long to load. (https://vborg.vbsupport.ru/showthread.php?t=268525)

newguy 08-14-2011 05:14 PM

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

BirdOPrey5 08-14-2011 07:27 PM

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.

newguy 08-14-2011 11:47 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2233502)
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.

newguy 08-16-2011 07:16 AM

Quote:

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 08:51 AM

OK, but now compare the results to one of your "fast" pages- is there much of a difference?

newguy 08-31-2011 11:19 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2234100)
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


All times are GMT. The time now is 08:10 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
  • Page Generation 0.01499 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete