• tigermoo

    (@tigermoo)


    Hi, read a few posts around but nothing seems to address this issue.

    In early stages of build with new woocommerce site ran pingdom pagespeed test on posh tiles noticed a long wait time for admin-ajax.php

    ran GTmetrix and showing

    POST action woocommerce_get_refreshed_fragments

    disabled plugins etc all the normal actions still showing long wait times

    Checked previous sites built with different themes host & plugins but all woocommerce and same issue.

    Does anyone have any insight or solutions as adding 1 -2 seconds IMO needlessly waiting

    https://www.ads-software.com/plugins/woocommerce/

Viewing 15 replies - 1 through 15 (of 21 total)
  • seeing the same issue here.

    Getting one load which I have isolated to some bizarre code in a slideshow plugin.

    And the other issue I am seeing is to do with the
    woocommerce_get_refreshed_fragments

    Any info on this?

    Thanks

    Thread Starter tigermoo

    (@tigermoo)

    shawaj did you get any further info on refreshed fragments issue?

    its actually coming up for all woocommerce installations I check not just my own.

    Let me know cheers

    Nope, not had any further information on it so far. Really annoying problem though!

    No one knows anything about this?

    woocommerce_get_refreshed_fragments

    2 seconds of load time… wtf…

    Thread Starter tigermoo

    (@tigermoo)

    Hi,

    From what I can tell it seems to be something to with the live ajax shopping cart if you can live without it and replace with a static icon then go for it?

    theres an interesting thread over on woothemes that may be of interest to some of you if anyone does find a better solution

    could you still post it here? cheers

    Any update on this? I get this on one of my sites with WooCommerce, but not the other.

    Same here. Is there an easy way to kill all these shopping cart features without those expensive rip-off WooCommerce plugins?

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    SebH not sure what you mean there..

    FYI all, we’ve removed the use of admin-ajax, so ajax speed should be improved in 2.4.

    woocommerce_get_refreshed_fragments updates the cart widget, and other cart areas used by themes. This prevents static caching plugins from caching carts.

    Well I use 2.4.6 and do have this problem. Any other areas to look for that might call this cart widget?

    Hi SebH

    Have you tried disabling WordPress Heartbeat API to see if that makes a difference? See: https://www.inmotionhosting.com/support/website/wordpress/heartbeat-ajax-php-usage

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    admin-ajax isn’t used on the frontend any longer Seb. How are you even sure its woocommerce_get_refreshed_fragments in your case? Are you viewing console?

    Hm, the waterfall in tests.pingdom.com

    Could a Woocommerce plugin be calling it? How would I find out which one?

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    If you view your site, open up console in chrome, network tab, XHR, it will list all ajax requests. If you want to see time it takes.

    Chrome console doesnt show it, but webpagetest.org shows it. It outputs

    URL: https://staging.explosive-media.com/?wc-ajax=get_refreshed_fragments
    Loaded By: https://staging.explosive-media.com/wp-includes/js/jquery/jquery.js?ver=1.11.3:5
    Host: staging.explosive-media.com
    IP: 46.101.206.179
    Error/Status Code: 200
    Client Port: 55291
    Request Start: 2.313 s
    Time to First Byte: 526 ms
    Content Download: ms
    Bytes In (downloaded): 0.8 KB
    Bytes Out (uploaded): 0.5 KB

    The site is staging.explosive-media.com – I am clueless. There is also so much server wait time (might be a different issue)

    Hi SebH,

    As already posted earlier – have you tried disabling WordPress Heartbeat API to see if that makes a difference? You can add the following snippet into your functions.php file:

    add_action( 'init', 'stop_heartbeat', 1 );
    function stop_heartbeat() {
    wp_deregister_script('heartbeat');
    }
Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘woocommerce admin-ajax.php get refreshed fragments slow wait times’ is closed to new replies.