![]() |
|
#1
|
|||
|
|||
|
Home page takes 6.44 seconds to load. Is 43 queries on homepage considered a lot? Or should I look at some other place? I tried to disable navbar, modules, one by one trying to find the slow culprit, no luck.
|
|
#2
|
||||
|
||||
|
Try turning off all of your non-stock modules one-by-one. Even with a few extra modules on my home page (eg: random gallery, random arcade, etc.) I'm only coming in at 16 queries.
|
|
#3
|
|||
|
|||
|
how long does your page takes to load? I wish I had the speed of vbadvanced home. Six seconds is a lot.
|
|
#4
|
||||
|
||||
|
For http://www.CoolSciFi.com the load stats are....
PHP Code:
http://www.vbulletin.org/forum/showthread.php?t=59700 It's what I use to catch uncached templates and for load times. Thinking out load... those 43 queries might be the results of some uncached templates. |
|
#5
|
|||
|
|||
|
Your page loads really fast. I did a debug and took care of all uncached templates. I will however look at that hack. Thanks.
|
|
#6
|
|||
|
|||
|
Here are the results: all templates were cached
Page generated in 6.14095 seconds with 43 queries [Server Loads: 0.74 0.75 : 0.59] |
|
#7
|
|||
|
|||
|
I've somehow managed 36 on mine. I already have Erwin's hack and there are no uncached templates.
Having said that, it isn't loading particularly slowly so no real problems. But I may try and isoltae where the extra queries are. |
|
#8
|
||||
|
||||
|
Open your forum/includes/config.php file and add this at the bottom of the file, just before the ?> mark:
Code:
$debug = 1; |
|
#9
|
|||
|
|||
|
So far I've found that the Quick Moderation module has six queries. That seems to be the biggest one.
|
|
#10
|
|||
|
|||
|
?explain=1
?&explain=1 both return a blank page. However, I am able to reduce the amount of queries on homepage to 20 and the load time is 1.47 seconds. I did that by using the great functionality of vbadvanced and splitting that page into two. The second page I use to display the Geek articles and all the other addons hacks (vbjournal, links, gallery etc...). That page calls up 26 queries and takes 5.5 seconds to load. I also found out that the quick moderation module is pulling in a lot of queries. |
|
#11
|
|||
|
|||
|
I put the $debug code in global.php and this what I get for results. It remains the same when I click or put explain. Don't know if this is what you are looking for? I'd love to have my site as fast as here.
adv_portal (1) adv_portal_G180_top_posters (1) adv_portal_G180_top_posters_data (10) adv_portal_buddylist (1) adv_portal_footer (1) adv_portal_gallery_random (1) adv_portal_geekfeaturedarticle (1) adv_portal_haitiwebs_articles (1) adv_portal_latestgeekarticlebits (2) adv_portal_latestgeekarticles (1) adv_portal_latestjokes (1) adv_portal_latestjokesbits (2) adv_portal_latestjournalentry (1) adv_portal_latestlinks (1) adv_portal_linkbits (5) adv_portal_news_archivebits (15) adv_portal_nowplay (1) adv_portal_nowplaybits (5) adv_portal_onlineusers (1) adv_portal_stats (1) adv_portal_taux (1) adv_portal_thegeeknewsbits (8) adv_portal_tools (1) adv_portal_topstats (1) customquicklink (9) footer (2) forumhome_loggedinuser (5) gobutton (1) header (1) headinclude (1) journal_latestentrybits (5) navbar (1) navbar_link (1) navbar_uttstore_actions (19) option (10) phpinclude_start (1) spacer_close (1) spacer_open (1) timezone (1) top_thanks (10) username_loggedin (1) vbpager_new (1) Last edited by Lionel; 08-18-2005 at 11:05 PM. |
|
#12
|
|||
|
|||
|
By splitting the homepage I got it to load in 1.5 + seconds, but the server load shoots up 3.5+ with 61 connected.
The second page takes from 5 to 7 seconds to load. Once I disable the stats and the nowplaying, I get it around 2.50 + seconds |
|
#13
|
||||
|
||||
|
Quote:
Quote:
Another thing I might suggest would be to upgrade to 2.0 of the CMPS. There were a couple of optimizations in that version that could cut down the query time for the news and latest threads modules pretty significantly. |
|
#14
|
|||
|
|||
|
I think its the journal - disable those plug ins and you'll see it drop down.
|
|
#15
|
|||
|
|||
|
for me the statistic mod really slowed down the site but i still had 2.00 so idisabled that and it loaded my site fast again
|
|
#16
|
|||
|
|||
|
Quote:
I am going to look at 2.0 and see if I could upgrade without loosing anything. The real killer for me is the nowplay hack on the second page, plus the registered today added in stats. |
|
#17
|
|||
|
|||
|
Quote:
|
|
#18
|
||||
|
||||
|
Quote:
|
|
#19
|
|||
|
|||
|
Yes it still does. Even on a the new 'virgin' page from the cms upgrade 2.0
|
|
#20
|
||||
|
||||
|
I'd suggest getting a fresh, un-hacked copy of your includes/functions.php file and try uploading that to see if it helps.
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| More queries... | WiBu | Troubleshooting & Problems | 3 | 06-06-2005 11:57 AM |
| [Q] What is the max amount of directories? | MikaK | "How Do I..." Questions | 13 | 02-03-2005 04:51 PM |
| run Queries? | boo | Chit Chat | 5 | 12-16-2004 05:16 PM |
| Queries | Zorobz | Troubleshooting / "How do I..." Questions | 2 | 12-11-2004 10:32 AM |