Configure WooCommerce Cache with W3 Total Cache

To improve website performance you or your client used W3 Total Cache plugin in our website and website running with woocommerce plugin to sell products or any kind services. than you may find issue as Add product to cart, Cart display or check out process not working well after activate or configure W3 Total cache plugin.

By following below 3 setting Steps most probably your issue solved.

1 – You must add _wc_session_ to the “Ignored Query Strings” option in W3TC settings

Inside WP-admin go to Performance > Database Cache and add _wc_session_ to the Ignored query stems: Textarea box

1--woocommerce-configuration-with-wc-total-cache

2 – Add mfunc to the list of Ignored Comment Stems:

According wootheme guidelines for WooCommerce Cache Ensure you add ‘mfunc’ to the ‘Ignored comment stems’ option in the Minify settings.

Go to Performance > Minify, add mfunc to the list of Ignored comment stems:

2-woocommerce-not-working-with-w3-total-cache

3 – Exclude WooCommerce specific pages from the W3 Total cache

To exclude following WooCommerce pages from Cache

  • Cart
  • My Account
  • Checkout

Add cart, checkout, shop, /shop* etc in Performance > Page Cache – Never cache the following pages text-area box.

3-exclude-woocommerce-pages-from-w3-total-cache-wordpress

Scroll to Top