XStore Theme – Cart AJAX Fragment Refresh Causing High PHP-FPM Worker Load

This topic has 4 replies, 3 voices, and was last updated 2 weeks ago ago by Tony Rodriguez

  • Avatar: pckeycallout
    pckeycallout
    Participant
    September 23, 2026 at 18:19

    Hi 8Theme Team,

    We’re running XStore on a WooCommerce site and have identified a performance issue through a server-side investigation that we believe is related to the theme’s cart fragment refresh behavior.

    We’re seeing a high volume of requests to /?wc-ajax=get_refreshed_fragments and /wp-admin/admin-ajax.php, which are uncached and require full PHP processing on every call. Our PHP-FPM worker pool (limit: 50 workers) has been saturating as a result, with some workers taking up to ~480 seconds to complete. This appears tied to how frequently XStore’s cart/mini-cart triggers a fragment refresh via AJAX, and the volume increases significantly under bot/crawler traffic.

    We’ve confirmed this occurs using XStore’s own default mini-cart widget, with no third-party cart plugins active — so this is specific to the theme’s native cart AJAX behavior.

    Could your team:

    Advise whether the frequency of the cart fragment refresh can be reduced or configured (e.g., not firing on every page load, or excluded for non-cart pages and bot/crawler user agents)
    Confirm whether there’s a setting or filter to limit or disable automatic fragment refresh where it isn’t needed
    Let us know if there’s a known compatibility issue between XStore’s cart AJAX and page-caching setups that could explain this load

    Happy to provide full error/access logs, a site URL, or further diagnostic detail as needed.

    Thanks

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 24, 2026 at 06:52

    Hello @pckeycallout,

    The fragment actions are initiated by the WooCommerce plugin code, and our cart widget simply retrieves the results and displays them in the cart template. If you wish to enhance the loading time, you may contact your hosting provider to optimize your server configuration. Additionally, you can conduct the same test using a default theme, such as Storefront, on your staging website to assess the performance.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: pckeycallout
    pckeycallout
    Participant
    September 26, 2026 at 14:54

    Thanks for the support! My topic “XStore Theme – Cart AJAX Fragment Refresh Causing High PHP-FPM Worker Load” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    September 26, 2026 at 14:54

    Dear pckeycallout,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

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

The issue related to '‘XStore Theme – Cart AJAX Fragment Refresh Causing High PHP-FPM Worker Load’' has been successfully resolved, and the topic is now closed for further responses

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