View Single Post
  #3  
Old 10-27-2013, 03:07 AM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the quick reply! That's not exactly what I need but it probably can be used at some point so I'll make note of it.

I can't say it's completely due to vB since I probably have some add-ons in there too, but the header portion of the code is a mess and renders terribly slower than it should. Each reference to a .js file and .css slows down the load time or completely stops it momentarily. This has been confirmed by several page load tests online.

The way to improve this, I hope, is to aggregate the code into 1 file so the HTTP header requests go down and the whole thing downloads at once, then more quickly moves on to the rest of the code.

Here is Google's suggestion:
Quote:
Remove render-blocking JavaScript:
http://yui.yahooapis.com/combo?2.9.0...nection-min.js
http://mathhelpboards.com/clientscri...-core.js?v=420
http://mathhelpboards.com/mobiquo/sm...r/appbanner.js
http://mathhelpboards.com/clientscri...arker.js?v=420
http://yui.yahooapis.com/2.9.0/build...n-min.js?v=420
http://mathhelpboards.com/clientscri...debar.js?v=420
http://cdn.mathjax.org/mathjax/lates...til=configured
http://mathhelpboards.com/clientscri...n_md5.js?v=420
Optimize CSS Delivery of the following:
http://fonts.googleapis.com/css?family=Passion+One
http://fonts.googleapis.com/css?family=Wellfleet
http://fonts.googleapis.com/css?family=Francois+One
http://mathhelpboards.com/clientscri...s?d=1382833520
http://mathhelpboards.com/mobiquo/sm.../appbanner.css
http://mathhelpboards.com/clientscri...s?d=1382833520
http://mathhelpboards.com/clientscri...s?d=1382833520
http://mathhelpboards.com/clientscri...s?d=1382833520
http://mathhelpboards.com/clientscri...s?d=1382833520
http://mathhelpboards.com/clientscri...s?d=1382833520
http://mathhelpboards.com/css.php?st...additional.css
That is the list of files I want to merge. Then I'm hoping I can just delete the individual references in the template and reference the one large .js file and the rest will work like it did before.

I haven't found any record of someone doing this though here or at vbulletin.com, or anywhere else on Google although it's been mentioned many times.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01226 seconds
  • Memory Usage 1,781KB
  • 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