Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1417199

    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-base.php
    “Base class implements methods to handle modal popup templates”

    We profiled all the calls during the cart and checkout. This class uses by far the most ressources in the cart and checkout pages. It is quite a performance drag. Any chance we can switch that off? We do not have any modals in that process. Maybe it is a performance hit on other pages as well but in uncached pages it becomes very obvious.

    Appreciate the support!
    El

    #1417295

    Hey El,

    Thank you for the inquiry.

    The popup-templates-base class is only loaded in the backend, specifically when using the Advanced Layout Builder, so it shouldn’t affect the front end. How did you check the performance of the cart and checkout pages?

    Best regards,
    Ismael

    #1417306

    Hi Ismael,

    It seems to be loaded in the frontend as well.

    I was using “Code Profiler Pro” with a not-logged-in user. I used a woocommerce cart hash from another non-logged user with a filled shopping cart to simulate the request to the cart.

    It loads tons of scripts but first page runner ups as far as enfold is concerned are sorted by execution time:

    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-base.php
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-modal-elements.php
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php
    wp-content/themes/enfold/framework/php/function-set-avia-backend.php
    wp-content/themes/enfold/framework/php/function-set-avia-frontend.php
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php
    wp-content/themes/enfold/functions.php

    Best,
    El

    #1418712

    Hi,

    Sorry for the delay. Do you see the same result when you remove the woocommerce cart hash? Please provide the login details in the private field. We have tagged @Guenter to check the issue.

    Best regards,
    Ismael

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