When a user makes any changes to their shopping cart, WooCommerce uses the Get Refreshed Fragments AJAX request to update the shopping cart contents dynamically. Refreshing the cart page without reloading it seems great from a user experience perspective.
But most times it slows down websites, mainly those hosted on shared servers. Plus, a lot of sites don’t end up using this feature.
Just to verify, we tested an up-to-date WooCommerce store on Pingdom Tools and here are the results:
Despite being just 1.1 KB in size, the wc-ajax=get_refreshed_fragments request takes 0.8 seconds to execute. If your site takes 3 seconds or less to load, that’s over 25% of the page load time. This test site is hosted on a cloud VPS, so you can imagine the load times on a cheaper hosting plan.
You can use the free Disable Cart Fragments or Disable Cart Fragments by Optimocha plugins to disable this taxing request.
If you disable this request, then it’s recommended enabling the option ‘Redirect to the cart page after successful addition’ in your WooCommerce → Products settings panel.
Enabling this behavior will ensure that the user is redirected to the Cart page after adding a product to their cart.