Admin-ajax.php slows down website loading time and performance

This topic has 9 replies, 4 voices, and was last updated 8 years, 11 months ago ago by Eva Kemp

  • Avatar: Astara
    Astara
    Participant
    October 11, 2015 at 02:28

    Hey there,

    I have been trying to fix my slow loading time on my website

    I have install plugins such as Heartbeat control aswell, however that was ineffective.

    Here is my most recent pingdom website test for reference

    Are we able to fix this issue?

    Best wishes,
    Nirvan

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 09:20
    Avatar: Astara
    Astara
    Participant
    November 16, 2015 at 09:38

    Hi Eva,

    Thanks for your response.

    I have read through the websites – which outlined steps that I have already undertaken – and also installed a variety of applications to the WP, which did not work, and now are uninstalled again.

    The main issue seems to be the “Admin-ajax.php” file in the system, as it takes several seconds to process.

    Would appreciate your help!
    Thanks a lot!

    Avatar: Eva
    Eva Kemp
    Support staff
    November 17, 2015 at 09:49
    Avatar: nohsharon
    nohsharon
    Participant
    January 13, 2016 at 22:51

    Hi Eva,
    Happy new year. I am writing this ticket under this support forum because our hosting discovered an error with the admin-ajax when we launched a new product on our site that caused a site outage.Even though there are only about 200 visitors on the site, the site crashes due to an unusually high number of hits to the admin-ajax.

    Could you please help to figure out if it is an error in the theme?

    This is the action hitting admin ajax that is still causing intermittent timeouts [action] => et_refreshed_fragments
    These are all the files referencing that action:
    plugins_updated/woocommerce/includes/class-wc-ajax.php themes/legenda-sub/js/etheme.js themes/legenda-sub/framework/woo.php themes/legenda/js/etheme.js themes/legenda/framework/woo_old.php themes/legenda/framework/woo.php plugins/woocommerce/assets/js/frontend/cart-fragments.js plugins/woocommerce/includes/class-wc-ajax.php plugins/woocommerce/includes_back/class-wc-ajax.php

    Here are the quantities from that day for top hits:
    22390 [action] => et_refreshed_fragments
    1310 [action] => heartbeat

    The host narrowed down this admin_ajax call to the shopping cart display on every page of the site. That’s going to require an admin-ajax call for that information on every page which takes up a lot of server resources.
    Another thing they noticed is that it looks like there may be a typo in the theme.

    The adminajax call that’s hugely populating your site is the et_refreshed_fragments action which seems to be coming from your theme. However, WooCommerce has get_refreshed_fragments with the g there.

    I can also attach a screenshot with the showing the hits to the admin ajax.

    Please let me know if you require additional information or clarification at all.

    Thank you,
    Sharon

    Avatar: Eva
    Eva Kemp
    Support staff
    January 14, 2016 at 11:09

    Hello @nohsharon,

    Have you tried solutions described in the articles mentioned in this topic?
    Please try them.

    Thank you.

    Regards,
    Eva Kemp.

    Avatar: nohsharon
    nohsharon
    Participant
    January 18, 2016 at 23:40

    Hi Eva,
    We disabled the Heartbeat monitor already as in this article: https://www.inmotionhosting.com/support/website/wordpress/heartbeat-ajax-php-usage#heartbeat-in-action

    Yet the site is still having issues. Do you have any more ideas – and can you be more specific rather than providing a general response?

    Thank you,
    Sharon

    Avatar: venturer1975
    venturer1975
    Participant
    January 19, 2016 at 11:18

    Same issue here.

    Avatar: Eva
    Eva Kemp
    Support staff
    January 21, 2016 at 10:26

    Hello,

    We’ve improved our theme as much as we could. And we have already emphasized if someone of our customers has experience in development and has proposals concerning changes in the theme (we mean only specific changes in the code in particular files, rather than general phrases like “Reduce CSS File” etc), we are asking to declare them here or contact us via the contact form https://www.8theme.com/contact-us/

    Please take our apologies but for now there are no more possibilities to improve theme loading.

    Thank you for understanding.
    Regards,
    Eva Kemp.

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.