Yes, caching can absolutely cause problems with dynamic pages if it is not configured correctly. The most common mistake is caching cart, checkout, my account, or logged-in pages the same way as normal blog posts.
For WooCommerce, those pages should be excluded from full-page cache. You can still cache static assets and use object cache, but user-specific pages need special handling.
Can caching cause issues with dynamic content like shopping carts or logged-in user pages?
I’m worried about using aggressive caching on a WordPress or WooCommerce site because some pages are dynamic. For example, shopping carts, checkout pages, logged-in dashboards, user accounts, and membership areas should not show cached content from another user.
Can caching cause problems with these pages, and how do you avoid it?
Replies agree that caching can cause issues on carts, checkout pages, account pages, and logged-in areas if exclusions are not set correctly. The common advice is to cache public pages but exclude dynamic pages, sessions, cookies, and user-specific content.
Answers & Discussion
I had this happen once with a membership site. Some logged-in pages looked stale because the cache plugin was too aggressive. Nothing private was exposed, but users were confused because account changes were not showing right away.
After that, I started excluding logged-in users from page cache and only caching public pages. That solved it.
The safest setup is to cache product pages, category pages, blog posts, and landing pages, but exclude cart and checkout. Most good caching plugins and managed hosts already have WooCommerce exclusions, but I still check them manually.
Test it like a customer: add a product to cart, update quantity, apply coupon, log in, and complete a test checkout.
Caching is not bad for dynamic sites, but lazy setup is bad. A WooCommerce store can still benefit from object caching, browser caching, CDN, and optimized database queries.
The trick is knowing what not to cache. Anything personalized, session-based, or checkout-related needs to be excluded or handled carefully.
Translated view is for reading. Return to the original discussion to answer or reply.
