There are upcoming maintenance events which may impact our services. Learn more

WOO COMMERCE - DISABLE CART FRAGMENTS Print

  • woocommerce, wordpress, plugin
  • 0

The WooCommerce store has a very common issue, which impacts significantly your page loading times, especially your Home page.

The AJAX cart fragments feature automatically updates the cart total in a customer’s shopping cart without having to refresh the page. 

The problem, however, is that this feature severely impacts page speed and consumes higher server resources. 
 
On top of that, WooCommerce performs this action even on pages where there are no shopping cart or product-related details!
 
WooCommerce sites, especially large ones, almost always encounter load time issues with the following AJAX request.
Even on our small WooCommerce test site it took longer than any other request and wasn’t needed as this was on the homepage. On large sites, we have seen this account for up to 10-second delays! That’s right, 10 seconds.
 

The cart fragments feature and or AJAX request in WooCommerce is used to update the cart total without refreshing the page. However, this definitely comes at a cost and a lot of times depending upon your theme, isn’t even used or needed.

To disable WooCommerce carts fragment simply select “Disable Cart Fragmentation” under the WooCommerce section.

 

 

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution