I’m experiencing persistent caching issues with my WooCommerce website (www.nail2000nail.it): Issues: - When logged in, after refreshing the page it shows as logged out - Products added to cart don’t appear in cart page until manual cache clear - Checkout process is affected by caching issues Technical Details: - Using WordPress with WooCommerce - Using WP Rocket for caching - All issues resolve immediately when Cloudflare proxy is disabled (orange cloud → grey) - Issues persist regardless of Page Rules configuration Steps already tried: 1. Created Page Rules to bypass cache for wp-admin, cart, and checkout pages 2. Set different Browser Cache TTL values 3. Tested with Development Mode enabled 4. Purged cache after each configuration change 5. Configured different Cache Levels (Standard, Bypass Cache) The site works perfectly when Cloudflare proxy is disabled, confirming this is a Cloudflare-specific issue. I need help identifying the correct configuration to make WooCommerce work properly with Cloudflare enabled. Could you please help me identify the correct configuration for my WooCommerce site? Thank you for your help.
On top of the WP Rocket, you’ve also got origin cache:
x-turbo-charged-by: LiteSpeed
And on Cloudflare it looks like you’ve configured “Cache Everything” since HTML is cached as well, which is the result of your issue:
cf-cache-status: HIT
Double-check Page Rules or Cache Rules at Cloudflare, remove Cache Everything if used.
Keep the selected option as “Respect Origin Headers”:
Then, at the origin, figure out if you’re going to:
Use LiteSpeed Cache - if it’s caching only CSS and JS files, or as well the product pages, your cart page, etc. → conduct this with your hosting provider, and either disable or keep it
Use WP Rocket - but adjust the settings to be compatible with Cloudflare following the below articles, or switch with WP LiteSpeed cache if it’ll then be more compatible with your origin LiteSpeed caching and would flush/clear it as need