Is there any way to move the following scripts to the footer??
I know that there are some WordPress plugins that insert jQuery in the middle of the page improperly and break things but I’m keeping the plugins to a minimum and want to improve page performance.
They are both registered in lib/scripts.php. If you change the last param of
wp_register_script from false to true, they will load in the footer.
I wouldn’t recommend it though. More so for Modernizr.
hello - did you ever get around this? My client is hell bent on the max score. My scripts are already below the footer so not sure why i’m even getting this issue.
PageSpeed specifically tells you what files are causing the issue and describes how you can fix them.
Your page has 2 blocking CSS resources. This causes a delay in rendering your page.
Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
As far as your render-blocking JS, those are all 3rd party and not hosted on your site. The same advice applies:
Try to defer or asynchronously load blocking resources
You’re gonna have to put in some work to get the score that you want