Why WooCommerce Is Slow
WooCommerce adds dozens of AJAX requests, sessions, and cart operations — standard page caching doesn't help here.
⚠️ Never full-page-cache /cart/, /checkout/ or /my-account/ pages.
Disable Unused Scripts
add_action('wp_enqueue_scripts', function() {
if (!is_woocommerce() && !is_cart() && !is_checkout()) {
wp_dequeue_script('wc-cart-fragments');
}
}, 99);
💡 Use WP-Sweep to remove DB garbage: revisions, transients, drafts.