• Resolved wardencenter

    (@wardencenter)


    Greetings,

    CoBlocks “complete” javascript is loading on every page. Pages where there are no CoBlocks blocks, as well as CoBlocks blocks that aren’t used on any pages.

    How do I stop this, please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Pretty much every WordPress plugin with scripts loads on every page. You can use a tool like Perfmatters.io to disable scripts from loading, though. Use the script manager inside of Perfmatters.

    Plugin Author Olivier Lafleur

    (@olivierlafleur)

    Since version 2.20.0, we started lazy loading some of the blocks so that only a subset of Coblocks is loaded, but yeah, we don’t want to load an individual script for every block, because it could be a huge problem if you have a lot of blocks on your page. So, the trick is to search for the right balance, I guess ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CoBlocks js loading on every page – how to stop’ is closed to new replies.