vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vBulletin 4.2.x time to first byte 1 second (https://vborg.vbsupport.ru/showthread.php?t=310939)

postcd 05-01-2014 08:35 AM

vBulletin 4.2.x time to first byte 1 second
 
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

ForceHSS 05-01-2014 08:30 PM

Dont think that is his site Max

Max Taxable 05-02-2014 12:21 AM

Quote:

Originally Posted by ForceHSS (Post 2495734)
Dont think that is his site Max

It'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

Quote:

Originally Posted by AusPhotography (Post 2495768)

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

Quote:

Originally Posted by ForceHSS (Post 2495765)
It might be his but not the one he is talking about as its not even vb

Right.... That's what I was saying. Site in sig appears to be a WP.

postcd 05-05-2014 08:42 AM

Quote:

Originally Posted by Max Taxable (Post 2495729)
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

Quote:

Originally Posted by postcd (Post 2496225)
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

EDIT

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, you're grading well on first byte time for that test occasion..

WebPageTestResult

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 are all of the images you are loading. Use the third image you see here 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:
HTML Code:

<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.


All times are GMT. The time now is 06:49 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.01037 seconds
  • Memory Usage 1,752KB
  • 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete