Support » Plugin: W3 Total Cache » Rejected cookies broken?

  • Hi,

    I use Woocommerce in my ecommerce site and have added woocommerce_items_in_cart to “rejected cookies” section in W3TC page cache settings to disable caching of pages when I have items in my shopping cart. This used to work with earlier version of W3TC, but now that I installed the latest version of W3TC ( this seems to be broken and pages are cached even though the cookie exists. As an artifact the shopping cart content changes when I switch between different pages (there’s a small icon on the header of each page showing number of items in cart).

    Any idea how to fix this?

    Thanks, Jarkko

Viewing 3 replies - 1 through 3 (of 3 total)
  • Actually, this seems to be a browser cache issue. If I refresh the page, the cart is properly updated and if I disable the browser cache, I don’t have this problem anymore. I previously had version installed and it didn’t have this problem.

    Seems that when I unchecked “Set W3 Total Cache header” for HTML & XML, it fixed the issue.

    Spoke too soon, I’m still having the issue.

    Workaround I have now is to use “no-cache” for “Cache Control policy” of HTML & XML. Would be nice to have “rejected cookie” for this as well, so that the page would still be cached for browser if woocommerce_items_in_cart isn’t set.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rejected cookies broken?’ is closed to new replies.