
-
AuthorPosts
-
October 26, 2018 at 7:08 am #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
October 28, 2018 at 3:02 am #1027222bump please??
October 28, 2018 at 8:13 pm #1027323Hi,
What modifications is your child theme include?
Is there a header.php file?Best regards,
BasilisOctober 28, 2018 at 10:42 pm #1027349Hi 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 –>
<?phpif( 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”/>
<meta property=”article:publisher” content=”https://www.facebook.com/jonespartners”/>
<link rel=”canonical” href=”http://www.jonespartners.net.au” />
<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
ConnieOctober 28, 2018 at 10:43 pm #1027350note: this is the header.php in the child theme
October 29, 2018 at 12:47 pm #1027491bump
October 29, 2018 at 10:28 pm #1027767BUMP PLEASE HELP URGENTLY
October 30, 2018 at 10:41 am #1027938your earliest assistance would be appreciated
October 30, 2018 at 3:01 pm #1028052Hi 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,
NikkoOctober 30, 2018 at 10:12 pm #1028221Hi 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
ConnieNovember 1, 2018 at 3:27 am #1028681please help, your earliest assistance would be appreciated
November 1, 2018 at 6:44 am #1028713Hi,
The problem seems to be the image in private. Could you try removing that to see what happens?
Best regards,
RikardNovember 1, 2018 at 7:12 am #1028723Hi 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
ConnieNovember 1, 2018 at 10:01 am #1028783Hi,
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,
RikardNovember 1, 2018 at 11:08 am #1028800Thanks Rikard, that help would be great.
FTP in private comments.
Cheers
ConnieNovember 1, 2018 at 12:29 pm #1028822Hi,
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,
RikardNovember 1, 2018 at 12:34 pm #1028827Yes, please go ahead
November 1, 2018 at 12:36 pm #1028828Please note the mobile version is broken and also takes much longer to load
November 1, 2018 at 10:55 pm #1028960Hi Rikard,
Any update from yesterday?
Cheers
ConnieNovember 2, 2018 at 5:42 am #1029005Hi,
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,
RikardNovember 2, 2018 at 6:48 am #1029037I 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.
November 2, 2018 at 1:46 pm #1029151Hi 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,
RikardNovember 5, 2018 at 4:06 am #1029733It 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.
November 5, 2018 at 10:41 am #1029821Hi,
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,
RikardNovember 6, 2018 at 4:38 am #1030172I’ve rolled it back to a backup from a month ago and will rebuild with a new child theme
-
AuthorPosts
- You must be logged in to reply to this topic.