Disabling Beaver Builder Modules for Better Performance

This post is to mention an easy to miss feature that’s available in Beaver Builder version 2.3.  It is covered in the knowledgeable article, but  I wanted to add some detail not presently covered.

Enabling and disabling modules (before and after 2.3)

Below is the default screen you’ll see under Settings > Beaver Builder > Modules.  Here you can deselect modules which prevents them appearing under the modules tab in the Page Builder.

Deselecting these modules has no impact on your site. If you have already used a module on a page it will continue to work. You will also be able to edit the module on the page.

Disable Beaver Builder Modules Default 1

As you can see (below) only the selected modules (Text Editor only in this case) can be added to a page.

Beaver Builder Ui Modules

This could be useful if you don’t want clients to add a certain type of module.   I believe by default the Social Buttons module has been deselected by Beaver Builder team. It is not as light weight as it could be.

Enabling and disabling modules for performance

If you add this filter to your (child) themes functions.php file:

add_filter( 'is_module_disable_enabled', '__return_true' );

…deselected modules will no longer load and will not show on pages. For these reason they have added information showing where modules are presently being used.

Disable Beaver Builder Modules 2.3

This will also show where 3rd Party modules are used ( ie. PowerPack and UABB).  But how 3rd party module behave is down to them.  UABB has long had the ability to stop modules loading from their own setting page. Power Pack stayed with how Beaver Builder worked and presently still loads it’s modules. This may change with the release of Version 2.3

What are the performance improvements like?

For many (probably most) the difference will be hard to detect.  Simon Prosser from the BB team who worked on this shared this test showing a 31% faster load and 26% less ram usage by deselecting everything but the Text Editor. Incidentally on the modules setting page you have to select one module, but this can be a 3rd party module.

Disable Beaver Builder Modules Performance

In my own tests the difference was  almost imperceptible on some page and minimal on others using the essential BB modules and with no 3rd party plugins.

There is quite a fair bit to unpick  with performance as all modules are not equal in terms of the resources they use.  I suspect this could most benefit using 3rd party modules that replace the Beaver Builder ones. Either way I am grateful this option is available.

Links
Beaver Builder knowledge Base Article

Simon Prosser’s Speed Test (temp link)

Usage DD (video of this performance testing plugin)

Query Monitor

You can support me via these affiliate links:
Beaver Builder
Ultimate Addons for Beaver Builder
PowerPack

david-waumsley-web-developer-150x150-circle

David Waumsley

A British chap who helps with websites and whatnot.  Some refer to him as a digital nomad, but he will accepts the term "fugitive" or "international bag lady".  He actually builds websites for a living. Yeah, I know!

9 Comments

  1. Lukas Huggenberg on December 10, 2019 at 1:39 pm

    Hi Dave,
    thanks once more for your dedication!
    On one site I found that using the posts module with a Beaver Themer single layout via the connector in a text editor doesn’t add the x times on y pages message to it.
    Thus, when not active, the missing posts lead to garbage on the pages.
    Best,
    Lukas

    • David Waumsley on December 10, 2019 at 5:44 pm

      Thanks Lukas, I’m not sure I understand the connector issue, but it sound frustrating. Have you reported it?

      • Lukas Huggenberg on December 10, 2019 at 5:53 pm

        You’re welcome David.
        By adding post content via connector I meant clicking the plus sign in the text editor module and choosing e.g. the post content (see https://www.screencast.com/t/DAeTsnVSglr2).
        I’ll report this to BB support.
        Cheers,
        Lukas

  2. Richard, RnR Design on December 19, 2019 at 11:02 am

    Hi David,

    I just tried adding this to an existing site, but it’s not showing up as expected. I tried adding it within a snippet and to the functions file, still no luck. It has worked on a new website I’ve been putting together though…strange.

    Also the link to the BB documentation no longer works. May be this documentation you were referring to? https://kb.wpbeaverbuilder.com/article/96-disable-specific-modules-sitewide

    Any help getting this working would be great.
    Many thanks, Rich

    • David Waumsley on December 19, 2019 at 2:15 pm

      Hi Richard,

      Hmm! Are you sure you have BB version 2.3? I think it is still only in user accounts at the moment.

      Sorry, it looks like they moved the document.

      It is this one: https://kb.wpbeaverbuilder.com/article/117-common-beaver-builder-plugin-filter-examples#prevent-module-load

      • Richard, RnR Design on December 19, 2019 at 3:46 pm

        Hi David,
        I don’t! Strangely, i just checked and i don’t even have a notice that there is an update to 2.3 yet either in my admin area. Can I easily delete the existing v 2.2.6.3 and upload 2.3 I’ve downloaded from BB in its place? Or should I wait for the update to come through?
        Thanks

        • David Waumsley on December 19, 2019 at 4:27 pm

          Yeah, that’s right. I briefly mentioned it had not rolled it out yet. They did this with the last update. Confusing, but quite a good idea as I think only the keen one will install and any last issues can be sorted before It hits a million installs.

          You should be fine deleting and uploading the new. I have this plugin in my sites: https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/ so I can just upload. It puts the old version in the media library in case I need to put things back.

  3. Tuan P on January 10, 2020 at 3:18 am

    Thank you.
    Just followed your guide and disabled over 30 modules.. (BB & PowerPack) 😀
    screenshot: https://prnt.sc/qlm01i

    • David Waumsley on January 14, 2020 at 7:34 am

      So sorry Tuan, I missed this comment earlier. Thank you for sharing.

Leave a Comment