1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

High server CPU usage caused by header/footer plugins

Discussion in 'Basic Support Forum' started by SCOTBORD, Mar 25, 2021.

  1. SCOTBORD

    SCOTBORD Member
    Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hi,

    I've been having an issue with a website that uses the Header and Footer plugins (https://www.patonandco.com/) and it is loading slowly and is also slow to navigate when logged into admin. I asked my host to investigate this and they provided the following response:

    "The profiling results are a little concerning as most of the latency is coming from WordPress' short code system, and Google Fonts API is being called ~12 times - this suggests there's some form of loop occurring.

    We can see Divi-Ultimate-Header-Plugin and Divi-Ultimate-Footer-Plugin are the top SQL consumers and responsible for at least 25% of the site's load time (combined). Given fonts are typically loaded in the site's header, it's looking like these two plugins could be having a negative impact on the site."


    I'd like to keep using the plugins, but the CPU drain, SQL consumption and load time are causing issues.

    Please can you investigate this and advise if you will be able to make these plugins faster to load and less resource hungry?

    Thanks

    Jonathan
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade testimonial carousel design for your Divi site without using any plugins:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    So far, we haven't received any complaints regarding speed issue. Basically, we're just using the same way as any other Divi injector plugins do, which echo the Divi Library shortcode into the HTML.

    You may try to disable our header / footer plugin & see if it make any difference.
     
  3. SCOTBORD

    SCOTBORD Member
    Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    This is a rather flippant and unhelpful response - advising that no-one else has ever complained about this serves no purpose.

    Are you going to at least investigate this to see if you can optimise load times and reduce CPU load for your plugins?

    You can see the report my host provided here - https://www.patonandco.com/downloads/xray-report.pdf - your two plugins are top of the "Top software modules/plugins by execution time" section. I hope this is of some help.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More
  4. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    For our header plugin, there's basically two possible ways of injecting the custom header:
    1. Using custom PHP to inject it (default method).
    2. Using Divi template hook.

    There's no other way to do the job.

    You may try to switch it to use the second method to see if it makes any difference. Here's how to do it:
    1. Go to this URL for your website:
    Code:
    Log In or Sign Up to view this code.
    2. Then tick Enable Header Alternate Option
    3. Then click Publish & see if how it goes.

    Also have you tried to disable our plugin & see if it makes any difference to your site load speed?