WooCommerce
94Everything you need to launch an online store in days and keep it growing for years. From your first sale to m...
A better way to disable WooCommerce's cart fragments script, and re-enqueue it when the cart is updated. Works with all caching plugins.
Disable Cart Fragments by Optimocha is a WordPress plugin designed to enhance the performance of WooCommerce websites by disabling the cart fragments script. It achieves this by checking cart cookies to determine if the cart is empty, only loading the script when necessary, which helps to speed up page load times while maintaining accurate cart totals.
This plugin is suitable for WooCommerce store owners who want to improve their site's speed without sacrificing functionality. It is particularly useful for those using caching plugins, as it allows for efficient cart updates without relying on slow AJAX requests.
Best for: WooCommerce store owners looking to improve site performance.
What it does well
Where it falls short
Disable Cart Fragments by Optimocha offers a straightforward solution for optimising WooCommerce performance, particularly for those using caching plugins. It is a practical choice for enhancing site speed while maintaining cart functionality.
Optimocha's own description of Disable Cart Fragments by Optimocha, lightly tidied.
Disable Cart Fragments is a lightweight plugin which effectively speeds up your WooCommerce website by disabling the cart fragments script. It also enqueues the script back when the cart is not empty anymore; so it only works while the cart is empty.
WooCommerce makes an AJAX request to check your cart and update your cart totals in wherever your theme shows cart contents (like the header menu). This AJAX call is made to override caching plugins, which is good, but it generally takes time.
With our plugin, you have the best of both worlds: You keep using the caching plugin and you still get to update the cart totals when the cart is not empty. This check is made via WooCommerce cart cookies, so it still employs JavaScript but doesn’t rely on slow AJAX requests. The check is made instantly, whether you’re using a caching plugin or not. How cool is that?
Feel free to reach out to us at Optimocha.com and let us help you optimize your WooCommerce website!
Other plugins for selling online.
Everything you need to launch an online store in days and keep it growing for years. From your first sale to m...
Top-rated antispam for contact forms, comments, WooCommerce, eCommerce, and login. No CAPTCHAs, no friction, j...
Weight based shipping methods for WooCommerce. Flexible shipping with table rate rules by cart weight and orde...
Every store loses sales to cart abandonment. But with Cart Abandonment Recovery for WooCommerce, you can win t...
Germanized extends WooCommerce to become a legally compliant shop for the german market. Must Have for every g...
🤩 Make popups & optin forms to get more email newsletter subscribers, leads, and sales - #1 most popular...