• Unfortunately this plugin loads CSS and JS onto every page. Even the ones where it isn’t used at all lowering your Google rank in some situations. I had to remove it to get a better Google Audit ranking. I hope they program it so it only loads on pages where it is used like some of the other block plugins I use.

    if ( has_block( 'video', $mypost ) && has_block( 'gallery', $mypost ) ) {
       // ...
    }

    Find My Blocks is a good example of a plugin that can list any block on any page. It can be done.

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is not exactly what happens and not all other plugins are doing it, a minority in fact because in some configuration it may leads to styles or features not loaded (with some themes mainly because of the cache system that needs to be generated with a different version of the file on each page).

    Major plugins like WooCommerce are not doing it and there’s a reason for that, don’t you think?

    Is it good for optimization? yes and no depending of the theme and the cache, compression… you have. In the case of our plugin we loading 3 minified files including a custom CSS one.

    Do we deserve a bad review after coping this text and for that reason, that the real question here.

    And by the way you’re invited to update (if you’re still using it) we may have found a workaround.

    Thread Starter a4jp

    (@a4jpcom)

    That’s great to hear.

    What work around was used or code changed?

    I’ll try it again and also update the review. That was the only problem I found when I first used it. Thank you for the extra post here too.

    I don’t have the plugin on my site now but I’m happy to try it again.

    This will help reduce the amounts of downloads needed to open websites and increase speeds of some pages. Nice work. ??

    Yes there is several options to exclude plugin files from loading, including some of them that may cause problem with some other plugins. Our choice was the one used on Kadence, looks stable so far…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘?? Unfortunately this plugin loads CSS & JS onto every page.’ is closed to new replies.