Disable WooCommerce cart fragments AJAX
If you are having page speed issue with WooCommerce cart AJAX requests, we recommend this plugin for a solution:
Plugin: Disable Cart Fragments
Speed issues with WooCommerce cart AJAX are related to this type of URL that you may see e.g. on a File Requests chart from Pingdom tools (with “example.com” here being a substitute for your domain):
https://example.com/?wc-ajax=get_refreshed_fragments
This article covers the issue and its solution in greater detail:
Fix slow page loading with WooCommerce wc-ajax=get_refreshed_fragments
WP Rocket automatically optimizes this request.