Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi!
    I’m using this plugin and don’t have this performance issue. How did you isolated the issue to this plugin?

    One additional thought, this plugin only call admin-ajax.php for refreshing the cart using the same logic woocommerce uses (woocommerce_get_refreshed_fragments). But this is an asynchronous call and should not add to your page load time.

    This is kind of important if you are cashing your pages but want to keep the cart uncached, and not mix up user carts content.

    Thread Starter eltrinita

    (@eltrinita)

    When I disable the extension one of the two admin-ajax disappears.
    But it is replaced by the following: /fr/?wc-ajax=get_refreshed_fragments

    without hyyan
    https://hpics.li/f1cad3a

    with hyyan
    https://hpics.li/d9fce5b

    Thread Starter eltrinita

    (@eltrinita)

    Thank you for your answer.
    ok I understand what you say. But in that case why these files are loaded each time? During the test pingdom

    I just checked again my production and stating environments and I don’T have that second call. And when you disable Hyyan plugin the call being replace by /fr/?wc-ajax=get_refreshed_fragments would suggest that some other code is adding the second call and Hyyan is just “making it pretty”.

    Do you have any plugin messing around with rewrite rules or playing with permalinks? Have you try disabling Polylang to see if the second call disappears? (Just a wild guess – I’m pointing at Polylang because of the /fr/ directory in your url that suggest polylang is involved although it shouldn’t affect call to the backend.)

    This is not a easy one to troubleshoot. No Sir.

    Woocommerce js will ask for refreshed fragments on every page load to ensure the currently viewing cart is updated in case the pages are cached. Some caching plugins have “filters” that allow changing a cached pages and don’t rely of ajax. But I understand why Woothemes have decided to have a 3rd party agnostic solutions.

    Thread Starter eltrinita

    (@eltrinita)

    The second call appears to be related this plugin: https://codecanyon.net/item/woocommerce-currency-switcher/8085217

    In any case it is normal to have every time this page called?

    So it’s not a problem?

    Sorry I’m not expert ??

    No worries, I no expert either, just doing my part helping out other, since I appreciate being helped when I have trouble with my installation.

    To your point, I think a single call to refresh the fragments is normal and desirable. But the 2nd call is not normal.

    If the 2nd call goes away if that plugin is disable, then contact the owner of that plugin and ask for help. This is a paid plugin, so I guess you are covered by support.

    Good luck! I hope you manage to get a solution for this issue.

    Thread Starter eltrinita

    (@eltrinita)

    Thank you for your help ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘hyyan heartbeat admin-ajax.php slow load time’ is closed to new replies.