Skip to content
← All writing
PerformanceSeptember 29, 2026

Tuning LiteSpeed Cache and Cloudflare without breaking WooCommerce

Practical exclusion rules for cart fragments, checkout sessions, and logged-in users so dynamic stores stay fast and reliable.

EO
Eris OktafianaWeb Developer & Designer
Updated September 29, 2026

Aggressive full-page caching makes marketing pages instant, but one misconfigured rule on a WooCommerce store can cache another shopper’s cart or break checkout nonces.

Bypass dynamic routes explicitly

Always exclude /cart/, /checkout/, and /my-account/ at both the origin cache and Cloudflare edge, while keeping product and category pages cached with smart tag purging.

Cache-Control: no-store, no-cache, must-revalidate

Fast stores earn trust only when checkout works every single time.

NEWSLETTER · NEW POSTS ONLY

Get new articles in your inbox.

Occasional notes on WordPress, Bricks Builder, and web performance. Sent only when a new post goes live.

No spam, no weekly filler. Unsubscribe anytime.