Support » Plugin: W3 Total Cache » Woocommerce DBcache – _wc_session_

  • Hello,

    I have 2 customers who use Woocommerce with W3t Cache and every time they add new products in the backend visitors cannot see them until I purge all caches. BOTH customers have the same issue.

    They have only EDITOR access to the backend so they cannot purge caches themselves.

    I have made sure that _wc_session_ is set in DBCACHE page in the “Ignored query stems” section. No error is shown on the page showing _wc_session_ needs to be set so I assume I have done it correctly.

    How can newly added products be seen automatically when using woocommerce and wt3 cache.
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ben

    (@benbornschein)

    Hi,

    you can exclude their role from seeing a cached page.

    Thread Starter stryker56

    (@stryker56)

    Sorry, I may not have explained myself. The issue is NOBODY can see new products that were added while w3t cache is activated.

    If any admin adds a new product and then logs out of the backend then the new product is not seen on the frontend by any visitor.

    The only way to see NEW products is to Purge all the cache. As they can’t do this then how can new products be viewed?

    Thanks.

    Ben

    (@benbornschein)

    If you create a new product and your cache is activated you should see the new product if you open its page directly.

    The page where all products are listed is cached and you should see your new product when that pages lifetime is over and needs to be refreshed.

    Thread Starter stryker56

    (@stryker56)

    Thanks for the quick reply.
    Can you please elaborate on the statement “When that pages lifetime is over”

    I assumed that when my client adds a new product in the backend and then logs out any visitor to the website from that moment on will be able to see the new product listed in the shopping cart (ie the page that shows a list of all relevant products)

    Is there anyway for this to happen with w3t Cache activated and working?

    Ben

    (@benbornschein)

    Every page that is cached has a lifetime (for example 1 day). When this lifetime is over the cache file of this page gets deleted, and a new cache file will be generated.

    When your client adds a new product, this product is not cached yet. But the client should be able to see the product when he/she opens its URL directly. When logged into the backend you can click on “Visit” to open the products page.

    On the page where you list many products, the new product should appear after some time.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce DBcache – _wc_session_’ is closed to new replies.