PDA

View Full Version : vBulletin 4.2.x time to first byte 1 second


postcd
05-01-2014, 08:35 AM
Hello, my vBulletin 4.2.x (default theme) time to first byte according to http://www.webpagetest.org/ is 1 second. I want to ask what is the way to reduce it to like 300ms?

Max Taxable
05-01-2014, 08:05 PM
Is the link in the signature, your site?

Need to know the site so I can run the test and give you a analysis.

Usually when I see FBT a problem it is a fat site, loading more than 1.5 MB on browsers, with lots of un-optimized images, and so on. There is no one "THE" way to fix that... No magic bullet. You need to optimize your site, is my educated guess.

But until I can see test results I'm not much help beyond that.

EDIT: If the site in your sig is the problem site, the first thing you need to do is get rid of the custom font files you are loading on browsers. It is about 30% of your total pageload and really does nothing for you, since most browsers ignore the custom fonts anyway.

SiteTestResults (http://www.webpagetest.org/result/140501_HF_X4D/1/details/)

ForceHSS
05-01-2014, 08:30 PM
Dont think that is his site Max

Max Taxable
05-02-2014, 12:21 AM
Dont think that is his site MaxIt's surely not the vB 4.2.2 he is talking about, but might be his site as well.

ForceHSS
05-02-2014, 12:36 AM
It might be his but not the one he is talking about as its not even vb

AusPhotography
05-02-2014, 01:32 AM
Hitting: www.ausphotography.net.au/forum

Load Time First Byte Start Render
First View ** 14.516s ** 4.178s ** 4.506s
Repeat View ** 1.617s ** 0.876s ** 1.055s

Edit: Re-run:
First View ** 3.082s ** 1.042s ** 1.491s
Repeat View ** 0.206s ** 0.506s ** 0.295s

Max Taxable
05-02-2014, 02:21 AM
Hitting: www.ausphotography.net.au/forum

You have some work to do on that, fortunately none of it difficult.

http://www.webpagetest.org/result/140502_G7_3YH/

Max Taxable
05-02-2014, 02:22 AM
It might be his but not the one he is talking about as its not even vbRight.... That's what I was saying. Site in sig appears to be a WP.

postcd
05-05-2014, 08:42 AM
first thing you need to do is get rid of the custom font files you are loading on browsers. It is about 30% of your total pageload and really does nothing for you, since most browsers ignore the custom fonts anyway.

Thx, i fixed this. Thanks to you next visitors will save their time waiting on googleapis.

I seen that my vbulletin site time to first byte is 370 miliseconds (too big :eek:) even when im loading plain php file with echo "someshorttext";

any idea please how to improve? :confused: I got mod_deflate, apache, php... - root access to server

Max Taxable
05-05-2014, 01:18 PM
Thx, i fixed this. Thanks to you next visitors will save their time waiting on googleapis.

I seen that my vbulletin site time to first byte is 370 miliseconds (too big :eek:) even when im loading plain php file with echo "someshorttext";

any idea please how to improve? :confused: I got mod_deflate, apache, php... - root access to serverEDIT

The target first byte time is 282 ms so on the test you ran you're not far off. This will vary depending on several factors including load from other sites on this shared server. As you can see on this test just ran (http://www.webpagetest.org/result/140505_JH_NPJ/), you're grading well on first byte time for that test occasion..

WebPageTestResult (http://www.webpagetest.org/result/140505_Q1_HRC/1/details/)

On these tests today, it appears there is a redirect you need to look into getting rid of. Call #1 is the forum, call #2 is the forum with a trailing slash. It is taking time to resolve this unneeded redirect and that is affecting your first byte time and the start of rendering.

On this page (http://www.webpagetest.org/pageimages.php?test=140505_Q1_HRC&run=1&cached=0)are all of the images you are loading. Use the third image you see here (http://www.webpagetest.org/jpeginfo/jpeginfo.php?url=http%3A%2F%2Fwww.ausphotography.n et.au%2Fforum%2Fimages%2FAPlogo_d.jpg) instead of the one you have now, to save 66kb on page load.

You are getting a failing grade for "Leverage browser Cache of static assets" and that is a easy fix, just install the following code into your .htaccess file:<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A2628000
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType video/asf A2628000
ExpiresByType video/avi A2628000
ExpiresByType image/bmp A2628000
ExpiresByType application/java A2628000
ExpiresByType video/divx A2628000
ExpiresByType application/msword A2628000
ExpiresByType application/x-msdownload A2628000
ExpiresByType image/gif A2628000
ExpiresByType application/x-gzip A2628000
ExpiresByType image/x-icon A2628000
ExpiresByType image/jpeg A2628000
ExpiresByType application/vnd.ms-access A2628000
ExpiresByType audio/midi A2628000
ExpiresByType video/quicktime A2628000
ExpiresByType audio/mpeg A2628000
ExpiresByType video/mp4 A2628000
ExpiresByType video/mpeg A2628000
ExpiresByType application/javascript A2628000
ExpiresByType application/x-javascript A2628000
ExpiresByType application/vnd.ms-project A2628000
ExpiresByType application/vnd.oasis.opendocument.database A2628000
ExpiresByType application/vnd.oasis.opendocument.chart A2628000
ExpiresByType application/vnd.oasis.opendocument.formula A2628000
ExpiresByType application/vnd.oasis.opendocument.graphics A2628000
ExpiresByType application/vnd.oasis.opendocument.presentation A2628000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2628000
ExpiresByType application/vnd.oasis.opendocument.text A2628000
ExpiresByType audio/ogg A2628000
ExpiresByType application/pdf A2628000
ExpiresByType image/png A2628000
ExpiresByType application/vnd.ms-powerpoint A2628000
ExpiresByType audio/x-realaudio A2628000
ExpiresByType application/x-shockwave-flash A2628000
ExpiresByType application/x-tar A2628000
ExpiresByType image/tiff A2628000
ExpiresByType audio/wav A2628000
ExpiresByType audio/wma A2628000
ExpiresByType application/vnd.ms-write A2628000
ExpiresByType application/vnd.ms-excel A2628000
ExpiresByType application/zip A2628000
</IfModule>

After you have done all of the above, let's then see how the tests go.

Max Taxable
05-05-2014, 03:24 PM
Notice in the edited post above, two different results for first byte time. This is likely due to the variability of load on the shared host. But you really want to do the tasks listed above, for overall improvement of your speed and first paint and domContent loaded speed. This will also improve the "visually complete" time.

highlander29
12-17-2016, 06:19 PM
Notice in the edited post above, two different results for first byte time. This is likely due to the variability of load on the shared host. But you really want to do the tasks listed above, for overall improvement of your speed and first paint and domContent loaded speed. This will also improve the "visually complete" time.

Can you look at my site? My First Byte time is .85s. I am guessing it may be because I'm running DBSEO but am not sure.

Dave
12-17-2016, 07:15 PM
Can you look at my site? My First Byte time is .85s. I am guessing it may be because I'm running DBSEO but am not sure.

Easy way to figure out: disable all of your plugins one by one and note the first byte time every time you disable a plugin.

Mattwhf
12-23-2016, 12:32 AM
Hello, my vBulletin 4.2.x (default theme) time to first byte is 1 second. I want to ask what is the way to reduce it to like 300ms?
There are somethings can reduce page loading time for your site
Optimize your site
Finding a better hosting
minify your css/javascript

For those, choosing a fast hosting server will help you a big improvement on performance and loading speed.