• Resolved umutusu

    (@umutusu)


    Hi!
    I hope you are doing well.
    I’m using fast velocity minify, Redis object cache by Till Kruss and FastCGI cache on my website.
    If I’m not wrong, FastCGI is not caching WooCommerce dynamic pages (cart, checkout and my account). I also tried to confirm this. But it is caching product pages. And I just realized that there’s a dynamic object on a product page: stock numbers (X number in stock, out of stock, etc.).
    And I tried to see if stock numbers are changing with 2 different browsers (and in private mode): they are not changing!
    Do you have any idea how to handle this? Preferably without excluding product pages from the FastCGI cache.
    Because if a customer sees a product is in stock and when tries to add to the cart just so to realize it’s out of stock, is really bad. It could even be categorized as deceptive. (As if I’m luring them to the shop and hoping they are going to buy something else.)
    I really would like to keep the product pages cached because I’m really happy with the speed of the website.
    Hope you have a solution for this.
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @umutusu

    Thanks for your question!

    `I’m using fast velocity minify, Redis object cache by Till Kruss and FastCGI cache on my website.
    If I’m not wrong, FastCGI is not caching WooCommerce dynamic pages (cart, checkout and my account). I also tried to confirm this. But it is caching product pages. And I just realized that there’s a dynamic object on a product page: stock numbers (X number in stock, out of stock, etc.).
    And I tried to see if stock numbers are changing with 2 different browsers (and in private mode): they are not changing!
    Do you have any idea how to handle this? Preferably without excluding product pages from the FastCGI cache.
    Because if a customer sees a product is in stock and when tries to add to the cart just so to realize it’s out of stock, is really bad. It could even be categorized as deceptive. (As if I’m luring them to the shop and hoping they are going to buy something else.)
    I really would like to keep the product pages cached because I’m really happy with the speed of the website.
    Hope you have a solution for this.`

    First of all please ensure that Velocity Minify doesn’t cache the Cart and Checkout pages, please refer to this doc in regards to using cache with WooCommerce.

    About the server side caching, I’d recommend to disable object caching, or you might want to double check with your hosting.

    I hope that helps!

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    Just a heads up, we’ve not heard back from you in a while so I’ll go ahead and mark this thread as resolved. Hopefully, you were able to find a solution to this issue.

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nginx, FastCgi cache and product page stock numbers caching’ is closed to new replies.