---
title: WooCommerce
description: "Learn how Powered Cache works with WooCommerce on WordPress: cart, checkout and account pages, preload exclusions, geolocation and safe script delay."
url: "https://poweredcache.com/docs/woocommerce/"
updated: "2026-12-02"
category: Compatibility
---

# WooCommerce

Powered Cache works with WooCommerce out of the box. Shop, category and product pages are cached for fast browsing, while the cart, checkout and account pages stay personal to each customer. You only need to adjust a few settings for special store setups.

**Available in:** Powered Cache (free). The Instant Navigation exclusions need Powered Cache Premium.
**Where to find it:** Automatic when WooCommerce is active. Related settings are in Powered Cache → Advanced and Powered Cache → File Optimization.

## What Powered Cache does automatically

### Cart, checkout and account pages are never cached

WooCommerce marks the pages you set as Cart, Checkout and My account (WooCommerce → Settings → Advanced → Page setup) as "do not cache". Powered Cache respects that, so these pages are always built fresh. If you turn on the miss reason header, they show `X-Powered-Cache-Miss-Reason: DONOTCACHEPAGE defined`. See [Page is not being cached](/docs/page-not-cached/).

Customers who are logged in get uncached pages everywhere, unless you turn on [Logged-in User Cache](/docs/page-caching/#logged-in-user-cache). For most stores, leave it off: carts, orders and account details change often for the same customer.

### Preload skips store pages

[Cache Preload](/docs/cache-preload/) never requests the cart, checkout and account pages, including their sub-pages such as `/my-account/orders/`. They cannot be cached, so preloading them would only add server load.

> **Changed in 4.1:** Preloading skips the WooCommerce cart, checkout and account pages. Before 4.1, preload could request them, and they were simply not cached.

### Store scripts are never delayed

When you use [Delay JavaScript](/docs/delay-javascript/), these WooCommerce scripts still load right away, so the mini-cart, add-to-cart buttons and checkout keep working:

- Cart fragments (the script that updates the cart count and mini-cart on cached pages)
- Add to cart, including variable products
- Cart and checkout, country selection, address fields and the password strength meter
- Single product page scripts

Payment scripts from Stripe, PayPal, Google Pay, Klarna and Amazon Pay are never delayed on any site. The same applies to the Garanti BBVA and Shopinext payment gateways and to the EU VAT Compliance (Premium) plugin's VAT number checks when those plugins are active.

[Lazy Load](/docs/lazy-load/) skips WooCommerce product gallery images, so the gallery zoom and slider work as expected.

### Geolocation with page caching support

If **Default customer location** in WooCommerce → Settings → General is set to *Geolocate (with page caching support)*, WooCommerce adds a `v` parameter to store URLs so that prices and taxes match the visitor's country. Powered Cache adds `v` to [Cache Query Strings](/docs/advanced-cache-rules/#cache-query-strings) automatically, so each location gets its own cached copy. You do not need to enter it yourself. Powered Cache updates its configuration whenever you save WooCommerce settings.

### Instant Navigation (Premium)

[Instant Navigation](/docs/instant-navigation/) never loads the cart, checkout or account pages early. These pages are heavy and personal, so loading them before a click would waste server resources.

## Check your store setup

1. In WooCommerce → Settings → Advanced, make sure the Cart, Checkout and My account pages are assigned. Powered Cache recognizes these pages only through these settings.
2. If you use other personal pages, such as a wishlist, a product comparison or a custom order tracking page, add them to [Never Cache URLs](/docs/advanced-cache-rules/#ignored-pages) in Powered Cache → Advanced, for example `/wishlist/*`.
3. If you sell in several currencies with WooCommerce Multilingual, see [WPML and multilingual sites](/docs/wpml-and-multilingual-sites/#woocommerce-multilingual).
4. After you turn on **Delay JavaScript**, **Combine JavaScript** or **Defer JavaScript**, test the full purchase flow in a private window: add a product to the cart, change the quantity, and go through checkout with your payment method in test mode.

The [Optimization Advisor](/docs/optimization-advisor/) shows *Review commerce safeguards* while WooCommerce is active, as a reminder to check these steps.

## Other e-commerce plugins

Powered Cache has built-in rules for WooCommerce only. With another store plugin, such as Easy Digital Downloads, check whether its cart and checkout pages are cached. If they are, add them to [Never Cache URLs](/docs/advanced-cache-rules/#ignored-pages), and add the plugin's cart or session cookie to [Rejected Cookies](/docs/advanced-cache-rules/#rejected-cookies) if your pages show cart contents.

## Troubleshooting

### The cart or checkout page is cached

This happens when the page is not assigned in WooCommerce → Settings → Advanced, for example a custom checkout page built with a page builder. Assign the page there, or add its path to Never Cache URLs. Then clear the page cache.

### Add to cart or checkout stops working after optimization

A theme or extension script that the store needs is probably delayed or combined. Add the script to [Delay JavaScript Exclusions](/docs/delay-javascript/#delay-javascript-exclusions) or [Excluded JavaScript Files](/docs/minify-and-combine-javascript/#excluded-javascript-files). To find it, follow [Broken layout after optimization](/docs/broken-layout-after-optimization/).

### Visitors see prices for the wrong country

Set **Default customer location** to *Geolocate (with page caching support)*. The plain *Geolocate* option decides on the server for each request, which a page cache cannot reflect.

## Related docs

- [Page caching](/docs/page-caching/)
- [Advanced cache rules](/docs/advanced-cache-rules/)
- [Delay JavaScript](/docs/delay-javascript/)
- [Plugin and theme compatibility](/docs/plugin-and-theme-compatibility/)
- [WPML and multilingual sites](/docs/wpml-and-multilingual-sites/)
