PDA

View Full Version : Remove Render-Blocking JavaScript ?


JamesAB
08-17-2015, 03:23 PM
I see that Google PageSpeed Insights (https://developers.google.com/speed/pagespeed/insights/) complains about "render-blocking JavaScript". For example on one forum's index page it doesn't like:

yahoo-dom-event.js
connection-min.js
vbulletin_global.js
vbulletin_md5.js

Has anyone experimented or had success with making the vBulletin JavaScript includes asynchronous with the async keyword?
For example:
<script async src="my.js">

Thanks,
James

TheLastSuperman
08-17-2015, 08:44 PM
Eww its even worse on the mobile version, ACK! Well I can tell you this much, about to start experimenting now!

JamesAB
08-17-2015, 10:08 PM
I only experimented a little on this so far, but I did find that if I use the "async" keyword with vbulletin_global.js, the "Manage Attachments" button wasn't showing up. So I guess that ones out for me. :(