PDA

View Full Version : Forum.php only 18kb but taking 603 ms to load?


final kaoss
06-18-2012, 05:53 PM
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

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

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

--------------- Added 1340057665 at 1340057665 ---------------

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.