Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1484354
    Sonia
    Guest

    I have been an Enfold customer for years, and lately I’ve been experiencing significant website slowdown issues. The programmer mentions problems with the theme. On a page where, for example, the main uploaded photo weighs 150 kb, Enfold publishes one of 500 kb. All photo weights have increased. The hosting provider confirms that there are issues and that I’m using the maximum CPU abnormally. All plugins have been deactivated for testing, and there is no conflict. I need someone to explain why this latest version is creating major problems. My business is practically blocked, causing significant damage. I look forward to your feedback as soon as possible. Thank you.

    #1484848

    Hey Sonia,

    Sorry for the delay. The theme automatically sets the quality of uploaded images to 100%, but this should not be the reason why the generated files are larger than the originals. Did you install any plugins related to images or compression?

    If necessary, you can reset the image quality to the WordPress default by adding this code to the functions.php file.

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) { $quality = 70; return $quality;}
    

    You may need to regenerate the thumbnails afterward.

    https://wordpress.org/plugins/force-regenerate-thumbnails/

    Make sure to create a site backup or restore point before regenerating the thumbnails.

    Best regards,
    Ismael

    #1484898

    Good morning,

    I was reading through the Enfold support tickets and saw that many others have experienced the same issue with images being displayed in larger sizes than those originally uploaded.

    We are not using any image-related plugins because we already upload optimized images.

    You can check, for example, the first image on this page:

    We uploaded it at 141 KB, but Enfold displays it at over 500 KB.

    In addition, developers have worked to optimize the site as much as possible, and despite this, it still exceeds the CPU usage limit. They believe the issue might be due to the Enfold theme being poorly optimized and too heavy. Unfortunately, I use Enfold on four websites. I thought it was an excellent theme, so it’s quite concerning to hear from professionals that it may not be suitable for a more complex website.

    Do you have any idea why there is such excessive CPU usage?

    #1484956

    Hi,


    @soniavoice
    : Would you mind providing the original source of the image so we can upload it on our end? When we uploaded a 4.8MB PNG image directly to an Image element using the Advanced Layout Builder, the resulting full-size thumbnail is only 2MB — less than half the original size. It’s possible that is a plugin or custom script interfering with the WordPress media uploader on your installation.

    Best regards,
    Ismael

    #1484986

    Hi, in the folder (attached link) I put inside my original picture uploaded on wordpress and the bigger one generated after the upload.

    #1484993

    Hi,

    Thank you for the update. We were able to reproduce this on our end. To lower the file size, you can reset the default image quality back to 82 or lower by using the filter that we mentioned above.

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); 
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); 
    function avf_set_quality_mod($quality) { $quality = 82; return $quality;}
    

    After adding this code, the file size of the largest thumbnail decreased by more than half. If you want to make it smaller, use a lower quality value.

    View post on imgur.com

    For more info about the filter, please check this link: https://developer.wordpress.org/reference/hooks/jpeg_quality/

    Best regards,
    Ismael

    #1485016

    Good morning, the page https://easyzanzibar.com/dove-alloggiare-a-zanzibar/ loads a large image even when opened on mobile. In your test, you show me that it should use a 218 Kb image in the desktop slide, while my optimized image is 141 kb. If it then always uses the large image on mobile, what kind of optimization is that?

    The technical programmers who are trying to solve the problem of a very slow site and CPU that exceeds the limit have sent me reports stating: ‘Enfold is a heavy and outdated theme for a site like yours.’

    If this is the case, I have to eliminate Enfold from all four of my websites and completely redo them.

    Does it turn out that Enfold creates problems with slow loading and high CPU demand for sites like ours?

    AI answers:
    Regarding your question about Enfold:
    Yes, it is a known issue that the Enfold theme can sometimes cause slow loading times and high CPU usage for some websites. This can be due to several factors:
    Theme Features: Enfold is a feature-rich theme, and while this offers a lot of flexibility, it can also lead to more code and assets that need to be loaded, potentially slowing down the site. Some of these features, if not used, can still contribute to the load.
    Image Handling: As you’ve noticed, how the theme handles images across different devices can impact performance. If the theme isn’t correctly serving optimized images for mobile, it can significantly slow down loading times on those devices.

    I would like to understand from you if there is anything that can be done to avoid redoing everything

    #1485024

    For example, Lazy Load doesn’t start working from the photos at the bottom of the page but already blocks the first image, presenting the user with an unloaded site, with a hole where the photo should be. It should slow down the loading of the last photos, not the first one. The technicians have explained all the problems with the theme and that it causes significant slowdowns.
    It seems we will be forced to redo the entire site.
    However, I wonder why you continue to make updates without improving performance.

    #1485051

    Hey!

    As mentioned earlier, the theme is configured to set a higher image quality than the WordPress default, which explains why the generated thumbnails are larger in file size. It’s also worth clarifying that image uploading and compression are handled entirely by WordPress, not the theme. This should be the same across all WordPress installations, so what you’re seeing isn’t specific to this theme.

    Have you tried adjusting the default compression level to 60 or lower? This should help further lower the file size of generated thumbnails and optimize them.

    After lowering the quality value to 60 or below, you can further enhance site performance by installing an image optimization plugin such as ShortPixel, Imagify, or Smush. This is a fairly standard practice in WordPress optimization, so it’s a bit surprising it wasn’t already suggested by your technical team.

    For more information on site optimization, please feel free to refer to the following links.

    https://gtmetrix.com/wordpress-optimization-guide.html
    https://wpengine.com/resources/improve-wordpress-site-speed/

    Regards,
    Ismael

    #1485439

    Hi, the developers have optimized the site and we’ve upgraded also the server. Now the site is fast, but at least once a day it exceeds the CPU limit.
    Can you tell me when the last update of Enfold was released?
    Plugins have been deactivated one by one, but it’s still not clear why the site is demanding so many CPU resources.

    #1485441

    In wordpress backend I see this message:

    Your theme (Enfold Child) contains outdated copies of some WooCommerce template files. You may need to update these files to ensure compatibility with the current version of WooCommerce. Suggestions for fixing the issue:

    Update your theme to the latest version. If no update is available, contact the theme author to ask about compatibility with the current version of WooCommerce.

    If you have copied a template file to make customizations, you will need to copy the new version of the template and reapply your changes.

    #1485479

    Hi,

    The latest version, 7.1.1, was released last month, on May 28 to be exact. Regarding the CPU spike, it’s possible that some plugins are scheduling processes or tasks at specific times, which could consume significant server resources. Is this happening at a specific time? The theme schedules a CRON job that deletes old css files, confirms admin notices or check instagram files, and you can disable them using the following filters but this may not make any noticeable difference since the tasks are not really resource-intensive.

    
    add_filter('avf_post_css_management_activate_cron', '__return_false');
    add_filter('avf_instagram_activate_cron', '__return_false');
    add_filter('avf_admin_notices_activate_cron', '__return_false');
    

    Your theme (Enfold Child) contains outdated copies of some WooCommerce template files. You may need to update these files to ensure compatibility with the current version of WooCommerce. Suggestions for fixing the issue:

    Did you modify any Woocommerce templates in the child theme? If so, you’ll need to update those template files to be compatible with the latest version of Woocommmerce.

    Best regards,
    Ismael

    #1485499

    Good morning, thank you for your reply.
    I have informed the developer to update the WooCommerce templates in Enfold Child.

    Regarding the CPU issue, the limit is exceeded once a day but at different times. It started on May 12th. However, I didn’t update or install any plugins on that date.
    That’s why I asked for the date of the Enfold update, to understand if there could be a correlation with a potential conflict between a plugin and the theme.

    #1485545

    Hi,

    Thank you for the update.


    @soniavoice
    : If you can, please create a new thread and provide the login details in the private field. We’ll try to check if the issue is actually coming from the theme.

    Did they point to any specific features or code in the Enfold theme that might be causing the resource spike, or are they assuming that based on a few threads found in the forum? The only feature we can think of that might cause such a spike is the saving of theme options because it regenerates the dynamic stylesheets, but this should not affect the front end unless changes are being made frequently on a daily basis.

    Best regards,
    Ismael

    #1485578

    It seems that if no intervention or changes are made, the site does not exceed the CPU limit. For example, over the weekend, when we don’t make any modifications, everything runs smoothly. During the week, spikes start occurring once a day.
    Nothing appears in the error log, and it’s not possible to understand the cause.
    I’ll send the access details privately.

    Thanks for your check

    #1485612

    Hi,

    If changes are made, such as css modifications or additional elements added to certain pages, the theme will try to regenerate the post css files and dynamic stylesheets, but this process should not consume significant server resources and will cease immediately once the files are generated. And since changes have been made to the site, the cache plugin will also perform its task of rebuilding cached files to make sure updated content is served to the client. This process may temporarily consume server resources.

    We installed the Query Monitor plugin but didn’t find any errors, only minor notices from the WordPress core, which should not impact the site in any way. Let us know in a different ticket if the issue occurs again. We’ll close this one for now.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Big issue with latest version’ is closed to new replies.