Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #1026642

    Hi Team,

    I am having problems with site load speed running the latest version of Enfold and (seperate) Layerslider.

    When I test on 2017 theme it’s loading under 4 seconds on pingdom, but as soon as I activate enfold child theme its 19 seconds.

    This is not a new installation but the issues started appearing after site maintenance a week ago and I then updated the theme and layerslider which didnt make any difference.

    I’ve already ruled out other plugins and server issues.

    Your earliest assistance is appreciated.

    Thanks In advance

    Connie

    #1027222

    bump please??

    #1027323

    Hi,

    What modifications is your child theme include?
    Is there a header.php file?

    Best regards,
    Basilis

    #1027349

    Hi Basilis,

    Here is the content of the header.php file

    <?php
    global $avia_config;

    $style = $avia_config[‘box_class’];
    $responsive = avia_get_option(‘responsive_active’) != “disabled” ? “responsive” : “fixed_layout”;
    $blank = isset($avia_config[‘template’]) ? $avia_config[‘template’] : “”;
    $av_lightbox= avia_get_option(‘lightbox_active’) != “disabled” ? ‘av-default-lightbox’ : ‘av-custom-lightbox’;

    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?> class=”<?php echo ” html_{$style} “.$responsive.” “.$av_lightbox.” “.avia_header_class_string();?> “>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />

    <!– page title, displayed in your browser bar –>
    <title><?php if(function_exists(‘avia_set_title_tag’)) { echo avia_set_title_tag(); } ?></title>

    <?php
    /*
    * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives
    * located in framework/php/function-set-avia-frontend.php
    */
    if (function_exists(‘avia_set_follow’)) { echo avia_set_follow(); }

    /*
    * outputs a favicon if defined
    */
    if (function_exists(‘avia_favicon’)) { echo avia_favicon(avia_get_option(‘favicon’)); }
    ?>

    <!– mobile setting –>
    <?php

    if( strpos($responsive, ‘responsive’) !== false ) echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>’;
    ?>

    <!– Scripts/CSS and wp_head hook –>
    <?php
    /* Always have wp_head() just before the closing </head>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to add elements to <head> such
    * as styles, scripts, and meta tags.
    */

    wp_head();

    ?>
    <script type=”text/javascript”>
    <!–
    var Fmax = 18
    var Fmin = 8
    function increaseFontSize() {
    var body = document.body,
    currentFontSize = parseFloat(window.getComputedStyle(body, null).fontSize);
    if (currentFontSize < Fmax) {
    body.style.fontSize = ++currentFontSize + ‘px’;
    }
    }

    function decreaseFontSize() {
    var body = document.body,
    currentFontSize = parseFloat(window.getComputedStyle(body, null).fontSize);
    if (currentFontSize > Fmin) {
    body.style.fontSize = –currentFontSize + ‘px’;
    }
    }

    document.querySelector(‘#increase’).addEventListener(‘click’, increaseFontSize);
    document.querySelector(‘#decrease’).addEventListener(‘click’, decreaseFontSize);
    //–></script>

    <meta charset=”utf-8″>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
    <meta name=”viewport” content=”width=device-width, initial-scale=1″><meta content=”en-AU” name=”language” />

    <link rel=”publisher” href=”https://plus.google.com/+JonesPartnersSydney/posts”/&gt;
    <meta property=”article:publisher” content=”https://www.facebook.com/jonespartners”/&gt;
    <link rel=”canonical” href=”http://www.jonespartners.net.au&#8221; />
    <meta name=”google-site-verification” content=”WqEnafOVm4R0SYx5641XdW42emw1gHxuryxnBq0KBm0″ />

    <script type=”text/javascript”>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘UA-42205650-1’, ‘jonespartners.net.au’);
    ga(‘require’, ‘displayfeatures’);
    ga(‘send’, ‘pageview’);

    </script>
    </head>

    <body id=”top” <?php body_class($style.” “.$avia_config[‘font_stack’].” “.$blank); avia_markup_helper(array(‘context’ => ‘body’)); ?>>

    <div id=’wrap_all’>

    <?php
    if(!$blank) //blank templates dont display header nor footer
    {
    //fetch the template file that holds the main menu, located in includes/helper-menu-main.php
    get_template_part( ‘includes/helper’, ‘main-menu’ );

    } ?>

    <div id=’main’ data-scroll-offset='<?php echo avia_header_setting(‘header_scroll_offset’); ?>’>

    <?php do_action(‘ava_after_main_container’); ?>

    Thanks again
    Connie

    #1027350

    note: this is the header.php in the child theme

    #1027491

    bump

    #1027767

    BUMP PLEASE HELP URGENTLY

    #1027938

    your earliest assistance would be appreciated

    #1028052

    Hi mrsmotto,

    We apologize for the late response, just to clarify if you use the parent theme (Enfold) it doesn’t have any speed issues but if you activate the child theme, that’s where the speed issue appears?

    Best regards,
    Nikko

    #1028221

    Hi Nikko

    When I activated the enfold theme it still takes 10.66 seconds to load, so it is better but still not acceptable.

    I am in Australia, and have been dealing with this for over a week. Could you please use the login details to look around and speed up the process.

    Thanks in advance
    Connie

    #1028681

    please help, your earliest assistance would be appreciated

    #1028713

    Hi,

    The problem seems to be the image in private. Could you try removing that to see what happens?

    Best regards,
    Rikard

    #1028723

    Hi Rikard,

    I’ve deleted the image from the media library, but I cant see where it was attached to any page?

    In any case it’s still the same load time 26.45s

    Thanks
    Connie

    #1028783

    Hi,

    The image looks to still be there, you have to delete the file from that location on the actual server. If you need help with that then post FTP login details in private.

    Best regards,
    Rikard

    #1028800

    Thanks Rikard, that help would be great.

    FTP in private comments.

    Cheers
    Connie

    #1028822

    Hi,

    Thanks for that, it looks to be some sort of problem with the Performance functionality in the theme. I’m not sure exactly what it is though. The performance reports give bad load times (Pingdom, GTmetrix), but when checking your actual site I would say that it loads in 1-2 seconds. The problem looks to be a 404 error on an Enfold performance file, are we allowed to delete the old performance files to see what happens then? I’ve turned everything off under Enfold->Performance for now in case you were wondering.

    Best regards,
    Rikard

    #1028827

    Yes, please go ahead

    #1028828

    Please note the mobile version is broken and also takes much longer to load

    #1028960

    Hi Rikard,

    Any update from yesterday?

    Cheers
    Connie

    #1029005

    Hi,

    I’m not sure what is going on your site to be honest with you. There is a 10 second wait for the main URL, and a 6 second wait for the image in private, which throws a 404 error. The problems with the theme performance seems gone now. Did you try clearing all the cache from your caching plugin and having it deactivated to see if that makes a difference? Also, what happens if you activate a different theme?

    Best regards,
    Rikard

    #1029037

    I tried purging cache but didnt make a difference.

    Then I changed theme to 2017, cleared cache and got 2 second load time on pingdom (tested 3 times) https://screencast-o-matic.com/watch/cFXnfoYKWp

    Secondly I tried enfold theme again, cleared cache and got 2.66 second load time (tested x 3) https://screencast-o-matic.com/watch/cFXnf4Y7cu

    Switch back to Child theme and back to the same problem. Interestingly this file is only called on the child theme and is still there (https://www.jonespartners.net.au/wp-content/uploads/dynamic_avia/wp-content/uploads/videos-bg.jpg)

    I’ve already tried deactivating the caching plugin and even changed it altogether with no effect.

    #1029151

    Hi Connie,

    Great, thanks for sharing that. Now we know that the culprit is in the child theme, now we just have to find out what exactly is causing the problems. I see that there is a folder called abovethefold in there, but you don’t have that plugin installed. What happens if you delete that folder?

    Best regards,
    Rikard

    #1029733

    It didn’t seem to do anything but make matters worse.

    I really think that file being called is the source of our problems. It is looking for a file that does not exist.

    #1029821

    Hi,

    I’m scratching my head here, I’m really not sure what the problem could be. Your child theme seems to not have a style.css file which is a required file though, could you start by fixing that maybe? I would suggest that you download a clean child theme, then transfer what is in your current child theme bit by bit and testing in between. Then you should see when the problem starts occurring.

    Best regards,
    Rikard

    #1030172

    I’ve rolled it back to a backup from a month ago and will rebuild with a new child theme

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