The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forcing load order for header
Optimizing my site has been my biggest goal for a good while now and while at first I found lots of great info, I now see that this is almost impossible to fully accomplish. There seem to be inherent issues with vBulletin that analysis sites like webpagetest.org that cannot be fixed without significant recoding.
Just some basic info about my configuration: 1)All attachments, avatars and css should be stored as files outside the database 2)Not using a CDN yet 3)Have decently compressed all images related to my custom theme 4)Tried experimenting with rearranging headinclude template with no change for better or worse 5)All other settings should be aligned with standard optimal vb settings, but if I'll post more if more info is needed I don't think I'd be allowed to paste the entire headinclude template so I'll leave out bits that can be referenced without code. Here's how it looks now. PHP Code:
2) I have a JS file that must be run on every page to render math equations, however I read that JS should be handled last since it stops the loading of other elements. For that reason I put it in the headinclude_bottom template, which looks like this for me now. Then hasn't changed the order in which things load. PHP Code:
Any help or comment is greatly appreciated and I plan on improving upon some of the optimization articles here already since they've helped me a lot but are missing pieces! Thank you. |
#2
|
|||
|
|||
What they mean by this is that the JS should be at the very bottom of the page. In otherwords in your footer at the very bottom. I suggest moving them to the bottom (footer, not the bottom of headinclude_bottom) and applying the async attribute.
Also you can try vb supercharged which should help a bit but can be buggy with some vbulletin mods. I myself haven't had an issue with it yet. Quote:
|
Благодарность от: | ||
mathforum |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|