Ask two colleagues to open the same product. One adds a red shirt to the cart and signs in for a member price. The other should still see an empty cart and the public price. Run that test through the CDN before sharing any storefront HTML.
Start outside the shopping session
Product images and versioned theme assets are sensible candidates for shared caching. Review product and category HTML separately. Currency, location, stock messages, membership pricing and cart fragments can all change the representation. Keep HTML private wherever the site cannot confidently identify a public variant.
Follow a cart all the way to confirmation
Exclude the store’s configured cart, checkout and account paths and any aliases, endpoints or session cookies used by extensions. Keep order confirmations and customer downloads private. WooCommerce allows owners to change page URLs, so check the storefront’s actual configuration before copying a path list.
| Action | What the other shopper should see |
|---|---|
| Add an item to the cart | Their own cart contents |
| Sign in to a pricing group | Their own eligible prices |
| Complete a test order | No details of the first shopper’s order |
Prove an update reaches the shop
Edit one product’s price and stock state in staging. Compare the anonymous product page, category listing and cart calculation. Set a shorter catalog freshness window or invalidate affected pages when the catalog changes. Keep the final price and stock checks in the store’s transaction flow.
Sources & further reading
Reader questions
Can an anonymous shopper have private state?
Yes. WooCommerce uses a session for an anonymous cart. A policy based only on whether WordPress considers the visitor signed in misses that state.
