vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Forum.php only 18kb but taking 603 ms to load? (https://vborg.vbsupport.ru/showthread.php?t=284604)

final kaoss 06-18-2012 05:53 PM

Forum.php only 18kb but taking 603 ms to load?
 
I find it pretty odd that the forum.php takes so long to load while all of the other resources load in well under 100 ms. And apparently there's 3 local JS resources that can be deferred while loading.

So where exactly is the inline javascript in forum.php? And what templates am I going to find the other 3 so that I can put them in the footer?

http://gtmetrix.com/reports/vgchat.info/BIb0lNie

Quote:

53.7KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.

http://vgchat.info/forum/clientscrip...-core.js?v=420 (43.5KiB) headinclude
http://vgchat.info/forum/clientscrip...n_md5.js?v=420 (5.2KiB) head
http://vgchat.info/forum/clientscrip...arker.js?v=420 (3.3KiB)
http://vgchat.info/forum/forum.php (1.7KiB of inline JavaScript)
unfound

--------------- Added [DATE]1340057665[/DATE] at [TIME]1340057665[/TIME] ---------------

Well I was able to move the core .js & md5.js & async them both. That should help with loading times :) I still have yet to find that inline JS..

Simon Lloyd 06-21-2012 08:15 PM

Why not put them in the footer template? this way they load last :)

final kaoss 06-22-2012 11:54 AM

That's what I did. + add the async rule.


All times are GMT. The time now is 11:50 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.01186 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete