• Resolved Antony Booker

    (@antonynz)


    Following on from a previous thread, the latest version 1.3.4 is requesting the https://demos.elementshive.com/wp-admin/admin-ajax.php URL on every page view (front and backend). This is adding 1s to the page generation time. I’ve added a transient cache to stop the look up on every page view, but would appreciate if you could investigate this further to see if it needs mitigation.

    I have attached a backtrace below. The issue occurs on Breakdance version 1.6.0, with no other Breakdance extensions installed.

    script_filename = wp-admin/index.php
    curl_exec() wp-includes/Requests/src/Transport/Curl.php:204
    request() wp-includes/Requests/src/Requests.php:469
    request() wp-includes/class-wp-http.php:396
    request() wp-includes/class-wp-http.php:616
    post() wp-includes/http.php:186
    wp_remote_post() wp-content/plugins/breakdance/plugin/util/rest.php:16
    Breakdance\remotePostToWpAjax() wp-content/plugins/breakdance/plugin/design-library/utils.php:192
    Breakdance\DesignLibrary\getDesignSetRemoteData() wp-content/plugins/breakdance/plugin/design-library/utils.php:289
    Breakdance\DesignLibrary\isValidDesignSet() wp-content/plugins/breakdance/plugin/design-library/utils.php:182
    Breakdance\DesignLibrary\{closure}() wp-content/plugins/breakdance/plugin/design-library/utils.php:183
    array_filter() wp-content/plugins/breakdance/plugin/design-library/utils.php:183
    Breakdance\DesignLibrary\getValidDesignSets() wp-content/plugins/elements-hive-for-breakdance/includes/design-library/design_library.php:8
    [INCLUDE_OR_EVAL]() wp-content/plugins/elements-hive-for-breakdance/includes/design-library/base.php:5
    [INCLUDE_OR_EVAL]() wp-content/plugins/elements-hive-for-breakdance/elements_hive_for_breakdance.php:177
    breakdance_loaded_handler() wp-content/plugins/elements-hive-for-breakdance/elements_hive_for_breakdance.php:102
    {closure}() wp-includes/class-wp-hook.php:310
    apply_filters() wp-includes/class-wp-hook.php:334
    do_action() wp-includes/plugin.php:517
    do_action() wp-content/plugins/breakdance/plugin.php:40
    {closure}() wp-includes/class-wp-hook.php:310
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author elementshive

    (@elementshive)

    Hi,

    Thanks for the report and the stack trace.

    I see what you mean for the page generation phase on the server side. It is indeed different from the DNS loop issue from the other post.

    It’s an unnecessary call in this case though, rather than mitigate it, there is a way to get rid of that call altogether, and it will implemented in the next version.

    Thanks for reporting this. Much appreciated!

    Plugin Author elementshive

    (@elementshive)

    Hi Antony,

    The issue should be resolved in version 1.3.5

    Please test and let me know if you still see the api call during page generation.

    Thank you for your contribution to EH 🙏

    Happy Crafting

    • This reply was modified 2 years, 6 months ago by elementshive.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘External requests impacting load time’ is closed to new replies.