The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Slow home Page
http://www.talkjesus.com/
It seems my home page (specifically only home page) is loading slower than average. It appears to take about 5 seconds to load, and I just cannot seem to trace the cause of this. I've uninstalled a few plug-ins (which I used for quite a while without issues). I did a few online speed tests and got not so great results: http://www.websiteoptimization.com/services/analyze/ (about 10 seconds on T1) http://www.vertain.com/m.q?req=cstr&reqid=d9.6BrtG (8 seconds) The server configuration is fine as this is limited solely to the forum's home page. Does anyone know what could possibly be causing this, perhaps by peeking at the source code? This is the forumhome template in the meantime: Code:
$stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xml:lang="$stylevar[languagecode]"> <head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers --> $headinclude <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title> <link rel="stylesheet" type="text/css" href="clientscript/ajaxtabs/ajaxtabs.css" /> <script type="text/javascript" src="clientscript/ajaxtabs/ajaxtabs.js"></script> </head> <body> $header $navbar <!-- peterska2 side column --> <table border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> <tr> <td valign="top"> <!-- / peterska2 side column --> <!-- guest welcome message --> <if condition="$show['guest']"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> </tr> <tr> <td class="alt1"> <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase> </td> </tr> </table> <div class="cat_spacer"></div> </if> <!-- / guest welcome message --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%"> <tr> <td class="tcat" colspan="2"> <a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline </td> </tr> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_Shoutbox')"><img id="collapseimg_forumhome_Shoutbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_Shoutbox].gif" alt="" border="0" /></a> Talk Jesus Shoutbox!</td> </tr> <tr> <td align="center" class="alt3"> <iframe frameborder="0" width="100%" height="185" src="http://www.cbox.ws/box/?boxid=439&boxtag=7868&sec=main" marginheight="1" marginwidth="1" scrolling="auto" name="cboxmain" id="cboxmain"></iframe> </td> <td style="width: 250px; padding: 5px;" rowspan="2" class="alt3"> <div class="editor" align="center"> <b>Members in Live Chat: <font size="5">$apichat[currentuserlocation]</font></b> </div> <div align="center"> <div id="flowerdivcontainer" style="width:250px; height: 200px; padding: 2px"></div> <div id="flowertabs" class="modernbricksmenu2"> <ul> <li><a href="misc.php?do=page&template=ajax1" class="selected">Fun</a></li> <li><a href="misc.php?do=page&template=ajax2">Forum</a></li> <li><a href="misc.php?do=page&template=ajax3">Bible</a></li> <li><a href="misc.php?do=page&template=ajax4">Tools</a></li> <li><a href="misc.php?do=page&template=ajax5">?</a></li> </ul> </div> </div> <script type="text/javascript"> var myflowers=new ddajaxtabs("flowertabs", "flowerdivcontainer") myflowers.setpersist(true) myflowers.setselectedClassTarget("link") //"link" or "linkparent" myflowers.init() </script> </td> </tr> <tr> <td align="center" class="alt3"> <if condition="in_array($bbuserinfo['usergroupid'], array(2,6,7))"> <iframe frameborder="0" width="100%" height="55" src="http://www.cbox.ws/box/?boxid=439&boxtag=7868&sec=form&nme=<?=urlencode($username)?>&nmekey=<?=md5('1j3n8ei6mo4j2g40'.$username)?>&wname=75&wemail=68&wmsg=250" marginheight="1" marginwidth="1" scrolling="no" allowtransparency="yes" name="cboxform" id="cboxform"></iframe> <else /> You must be logged in and registered to use this shoutbox </if> </td> </tr> $forumbits </table> <div class="spacer"></div> <br /> <!-- what's going on box --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td> </tr> </thead> <if condition="$show['loggedinusers']"> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> <div>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> </if> <!-- users in chat--> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatstats')"><img id="collapseimg_forumhome_chatstats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatstats].gif" alt="" border="0" /></a> <phrase 1="$vboptions[bbtitle]">Members In Live Chat: $apichat[currentuserfooter]</phrase> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_chatstats" style="$vbcollapse[collapseobj_forumhome_chatstats]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">Members In Live Chat</phrase>" border="0" /></td> <td class="alt1" width="100%"> <div class="smallfont"> <div> $apichat[currentusers2]$apichat[currentusers3]$apichat[currentusers4]$apichat[currentusers5]$apichat[currentusers6]$apichat[currentusers7] </div> </div> </td> </tr> </tbody> <!-- end users in chat--> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats2')"><img id="collapseimg_forumhome_stats2" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats2].gif" alt="" border="0" /></a> <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_stats2" style="$vbcollapse[collapseobj_forumhome_stats2]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td> <td class="alt1" width="100%"> <div class="smallfont"> <div> $vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">, <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span> </if> </div> <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div> </div> </td> </tr> </tbody> <if condition="$show['birthdays']"> <!-- today's birthdays --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a> $vbphrase[todays_birthdays] </td> </tr> </tbody> <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]"> <tr> <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td> </tr> </tbody> <!-- end today's birthdays --> </if> <if condition="$show['upcomingevents']"> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a> <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]"> <tr> <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td> </tr> </tbody> </if> <tbody> <tr> <td class="tcat" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong> <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a> <if condition="$vboptions['forumleaders']"> <a href="showgroups.php?$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if> </strong></div></td> </tr> </tbody> </table> $forumhome_markread_script $ad_location[ad_forumhome_afterforums] <!-- end what's going on box --> <!-- icons --> <div class="spacer"></div> <table class="icon_legend" align="center" border="0" cellpadding="6" cellspacing="0" width="100%"> <tbody> <tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new_small.gif" alt="" border="0" /></td> <td align="left" class="alt1"> <div class="smallfont">$vbphrase[forum_contains_new_posts]</div> </td> <td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old_small.gif" alt="" border="0" /></td> <td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td> <if condition="$vboptions['showlocks']"><td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new_lock_small.gif" alt="" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock_small.gif" alt="" border="0" /></td> <td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td></if> </tr> </tbody> </table> <!-- /icons--> <!-- time and login code --> <div class="spacer"></div> <table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <!-- Time --> <td align="$stylevar[left]" valign="top"><div class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td> <!-- /Time --> <!-- member logout --> <if condition="!$show['guest']"> <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td> </if> <!-- /member logout --> </tr> </table> <!-- /time and login code --> <!-- peterska2 side column --> </td> <td width="10px"></td> <td valign="top" width="160px"> <table class="tborder" border="0" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" width="100%" align="center"> $forumhome_sidecolumn_right </table> </td> </tr> </table> <!-- / peterska2 side column --> $footer </body> </html> |
#2
|
|||
|
|||
From what i see so far, it only happens on the first initial load of the forum home page, clicking thru sub forums and then back to the home page it loads decently fast as it should, with everything your loading on that page, this looks to be a server side issue spitting out all the data it has to before being cached after the initial load.
Turn off the template output as well in the admincp |
#3
|
||||
|
||||
you simply have too much on the main page - specifically javascript
I suggest removing any of the extra javascript features. At the very least, compress (gzip) your css and javascript files. This article might help with your problem: How Design Affects Performance |
#4
|
||||
|
||||
" At the very least, compress (gzip) your css and javascript files.'
Are you referring to enabling gzip html compression in general in admincp? I removed two javascripts, forumhome gallery (3 images random) and lessened the images about 15k worth. It loads slightly faster. One thing I cannot trace is where the 15k urchin.js is coming from. I was unable to find this by searching phrases nor templates. The biggest scripts are vb defaults vbulletin_global.js (44k) vbulletin_menu.js (18k) |
#5
|
||||
|
||||
Have you tried using mod_deflate? One thing to note, if you use mod_deflate, disable the gzip compression in the vBulletin options.
|
#6
|
||||
|
||||
I will give deflate a shot.
I reset forumhome, header, headerinclude to defaults as well. Same slow down problem. (All restored back to my custom settings now anyway). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|