Remove render-blocking javascript

Homepage Community Forums Legacy Theme Support Remove render-blocking javascript

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10933

      I’ve noticed a problem when running Google’s Page Speed Insights against my Legacy based site. I have a number of plug-ins that are blocking the above-the-fold rendering of the home page. Whilst I now “think” I know what to do i.e. move the JQuery scripts to the <Body> section of the HTML file, I just can’t see how to do this with Legacy. Which file(s) should I be editing to defer the running of the scripts?


        If your plugins are adding the scripts (assuming they are since Legacy doesn’t have any on the homepage)…then you would probably need to adjust those plugins. If the plugins have hooks/filters etc that allow you to edit/move things around then you could add it inside your themes functions file. That’s about all I can think of. If you need more specifics you would probably need to contact the plugin developers to see how you can make those adjustments.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.