Support » Plugin: TI WooCommerce Wishlist » ajax-admin.php call takes over 2 sec

  • Resolved maxgorky

    (@maxgorky)


    Hi there,

    Is there a way to fix long loading time caused my ajax-admin.php call, which takes over 2 sec and affecting the site’s overall loading?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hi @maxgorky

    Our plugin doesn’t use such a call starting from 1.18.0 version.
    You need to update your version OR check what 3rd party code running also on the same call.

    Hi @templateinvaders

    It’s always updated, I check my plugins every day. Today was the latest update from you that I also updated.

    Here’s what I get now
    https://imgur.com/a/AwjhMyh
    It’s almost 4 sec load. What other 3rd party? This ajax call points directly at Wishlist.

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @maxgorky

    Sorry, but in the original question, you asked about ajax-admin.php call while it’s a general endpoint for WordPress.

    You can see that the mentioned request asynchronous and initiated after DOM rendered (website visitor already can interact with it). In other words, it’s not affecting your page speed and could affect the only server load (because of a separate PHP worker required for request).

    We suggest you check the next guide to understanding how to read the page speed waterfall report:
    https://gtmetrix.com/blog/how-to-read-a-waterfall-chart-for-beginners/
    Because a lot of people look only into numbers without digging in details 🙁

    Hi @templateinvaders

    So yeah, it’s affecting my server load as I’ve seen CPU spikes, resulting in resources restrictions.
    Digging into details, why does it have to be 4 sec? And it’s obviously generated from Wishlist as you can see. That’s a lot.

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @maxgorky

    To be honest, it can’t produce CPU spikes because this request using fewer resources than regular WordPress page visit.
    Why it takes so long – WordPress REST API load full core with all active plugins on this request. It indicates that you are using bad hosting OR(AND) a lot of “heavy” plugins.

    We are working on the next update that brings as much as a possible improvement for this request from our plugin side.

    @templateinvaders

    I don’t doubt my hosting, it gets me decent under 200 TTFB. So even if I have heavy plugins, there shouldn’t be issues.

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