View Single Post
  #39  
Old 08-01-2011, 03:27 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mooff View Post
What?

Sorry to say that, but how is optimizing images related to first byte time?



In rough the time adds up like this:
Sending http-request (timing should be similar to a ping) - your webserver (apache?) connecting to your php-system, your php system then will check whether the site can be served via your php cache or whether it has to compute everything new. For vbulletin: running the forum.php including all those database queries, takeing the output, go through the template - build the html page. And finally it goes to the user. At this point your webserver finally does know what images/html it has to send. Up until this point he does nothing and waits. So optimizing images does not influence the first byte at all. I would go for statistical fluctuation here.


You can speed up that process by using a web accelerator (varnish for example). With this it would go like that: http-request goes in, web accelerator sends cached page back. We would avoid all database queries and php compilation etc.
Since we can't really serve our users some cache data which does not check for their permissions, web accelerators can only used (not 100% true) for guests and crawlers.

But well guests and crawlers make up most of the traffic anyway, so varnish is a huge gain, really huge gain in speed and server load.

(web accelerator setup is pretty advanced and probably can't be explained in a simple how to - you need a tech admin who knows exactly what he is doing)
I installed and ran vboptimize, some parts of vbsupercharged, disabled plugins, optimized some images, got rid of apture, activated cloudflare, used some of their compression settings (except for rocketload and minimize javascript and html because they messed up parts of my site) and even ran united forum sprites and my first byte time remains an F. Forwarding this to my host so they can take a look. Thanks.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01156 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete