Disable Cart Fragments by Optimocha
View on WordPress.orgScores higher than 18% of indexed plugins
About
A better way to disable WooCommerce's cart fragments script, and re-enqueue it when the cart is updated. Works with all caching plugins.
What It Does
Disable Cart Fragments by Optimocha stops WooCommerce from loading its cart fragments script site-wide, which is one of the biggest JavaScript performance bottlenecks on WooCommerce stores. Instead of a blanket disable, it re-registers the script only when the cart actually changes, so the mini-cart still updates accurately after adding or removing items. The result is faster page loads, better Core Web Vitals, and compatibility with any caching plugin you already use.
Who It's For
This plugin is built for WooCommerce store owners who have tested their site in tools like GTmetrix or PageSpeed Insights and seen WooCommerce cart fragments flagged as a render-blocking or unused JavaScript issue. It is especially useful for high-traffic shops, stores on shared hosting, and retailers running aggressive page caching where the fragments AJAX call wastes resources on every pageview. If you care about Core Web Vitals and conversion rates tied to mobile load speed, this belongs in your stack.
Who Should Skip It
If you run a small catalogue with very few visits per day, the fragments script is unlikely to be your bottleneck and the speed gains will be marginal. Developers who are comfortable dequeueing wc-cart-fragments.js manually in functions.php or through a performance plugin like Asset CleanUp or Perfmatters do not need this and can save a plugin slot.
The Bottom Line
For its narrow purpose, Disable Cart Fragments by Optimocha does exactly what it promises and does it cleanly, with a smart re-enqueue approach that most manual snippets miss. The 10,000 installs and 98 percent rating signal real-world success, though the tiny review pool and zero support threads mean you are trusting a single-developer utility with limited track record. Overall Quality Score of 70.17 reflects solid maintenance and ratings weighed against modest popularity and unproven support channels.
Related Plugins
Pick this if your store ships to Germany or the EU and needs locale-specific legal, tax, and invoice features rather than a cart-fragments fix.
Choose this if your priority is generating compliant PDF invoices and packing slips instead of frontend JavaScript optimization.
Go with this when you want to collect and display verified product reviews to lift conversions, not improve page speed.
Pick Stripe if you need a reliable credit card gateway with Apple Pay and Google Pay support, which is unrelated to cart-fragments performance.
Choose Mercado Pago when you sell primarily in Latin America and need local payment methods, not a frontend speed boost.