The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Trace Slowness
Is there a particular way to trace what plug-in(s) or scripts might be causing a slow down on my site? The server I have is superb and dedicated to me. I've optimized MySQL / Apache / PHP and not sure why the site loads pretty slow.
http://www.talkjesus.com/forum.php Not sure how accurate this is: http://tools.pingdom.com/fpt/#!/HcfgLSsYT/talkjesus.com I've disabled 2 plugins, disabled Remote YUI (it was set to Yahoo) and cleared system cache, optimized database. Still loads slow. I'm using Chrome as well on a 20MBps cable connection. |
#2
|
|||
|
|||
I'm not an expert on this subject, but a couple things you can easily do: use Firefox and install the Firebug addon, then go to your page, open Firebug and go to the Net tab, then reload your page. This gives you a graph of everything the browser requests and how long it took.
Also, you can put the site in debug mode by editing your includes/config.php and finding the $config['Misc']['debug'] line, and changing it to true. or if you can't find it, insert this line (anywhere after the first line): Code:
$config['Misc']['debug'] = true; then when you load a page, at the bottom you'll see a line like: Code:
Page Generation 0.17364 seconds Memory Usage 8,303KB Queries Executed 27 (?) and if you click on the (?) you'll go to a page that lists all database queries and how long they took. If you find one that took a very long time, you can probably figure out if it belongs to a plugin. You should set debug back to "false" when you're done. Or if you want, there are ways to set it up so it's only in debug mode for you: www.vbulletin.org/forum/showthread.php?t=265999 , then you can leave it like that for as long as you want. |
#3
|
||||
|
||||
Thanks. This is the result.
Quote:
|
#4
|
|||
|
|||
That shows the template usage. You have to click on the (?) link (after "33") to get to the page with the queries.
|
#5
|
||||
|
||||
Handy tool: http://webpagetest.org
This is Patrick Meenan of Google's tester. Many different, real world browsers, many different locations available. |
#6
|
|||
|
|||
I can already see why you have such a slow page loading times.
http://gtmetrix.com/reports/talkjesus.com/Tg0nUp5j From this report here are some of the top issues that you can work on. Code:
Optimizing the following images could reduce their size by 74.7KiB (56% reduction) 347.1KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering. Optimize the order of styles and scripts Compressing the following resources with gzip could reduce their transfer size by 509.5KiB (77% reduction). The host talkjesus.com should enable Keep-Alive. It serves the following resources. Quote:
|
#7
|
||||
|
||||
Thanks for the tools.
How do I rectify this when I disabled Yahoo Remote YUI? http://yui.yahooapis.com/2.6.0/build...ntainer-min.js (66.1KiB) http://yui.yahooapis.com/2.6.0/build/menu/menu-min.js (51.6KiB) |
#8
|
|||
|
|||
I'm not exactly sure of what you're asking with that last post but for the rest of the issues my guide can help you out, look in my sig.
|
#9
|
||||
|
||||
Thanks. Took me forever to do this but did it.
Unfortunately I'm still at a D rating. http://gtmetrix.com/reports/talkjesus.com/eADCrAX4 Still getting the sprites F rating? I installed / did that step too. --------------- Added [DATE]1356045550[/DATE] at [TIME]1356045550[/TIME] --------------- Also, when I enable Mod Rewrite Friendly URLs, my links no longer work at all. Clicking any link simply refreshes the home page. |
#10
|
|||
|
|||
Ah I just had a look at your site and it seems your running vbseo. Simply remove the friendly url rewrite in the htaccess and replace that part with vbseo's friendly rewrite rules.
Here is what I recommend you try, since it seems you're using vb 420 & vbseo. If you have different friendly url rewrite rules than those listed below, then simply keep an editor open with them intact or save them to a document & replace the rules within #Friendly Rewrite Rules Start & #Friendly Rewrite Rules End PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|