• Resolved ipugliano

    (@ipugliano)


    Hello, I’m trying to figure out what may be causing the following bug. Since our website has many components it’s been very hard to find the culprit.

    The bug we’ve noticed is that when you change a product’s price or modify its stock level with the WooCommerce mobile App (Link), the cached page is not purged correctly.

    Changing a product stock directly from WP Admin does work fine. You change a price and the product page is modified instantly on the front end. However, this does not occur with the app. As a user, you are forced to flush your browser cache and reload.

    We’re working on an e-commerce site with Woocommerce + W3 Total Cache + Cloudflare.

    In terms of settings, W3 Total Cache has Object cache via Redis (with the PHP Redis extension) + OpCode. We played around with Page Cache but it did not improve the experience. The website also has Cloudflare via their 3rd party plugin, with APO enabled.

    Do you have any pointers to better isolate the cause?
    I don’t think contacting the WooCommerce App support would help, since it was working fine before implementing W3 Total Cache and the CDN. So now it’s up to you guys or trying different settings on CloudFlare.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ipugliano

    Thank you for reaching out and I am happy to help!

    This is not a “Bug”, as this depends on how the mentioned app is working. W3 Total Cache can purge the cache based on the action performed in the backend.

    Changing a product stock directly from WP Admin does work fine. You change a price and the product page is modified instantly on the front end. However, this does not occur with the app.

    You also mentioned that this was working before you implemented W3TC and Cloudflare (both forms of caching). This means that there was no cache created and nothing to purge.
    There are no triggers in this case when using the mobile app to purge the cache.

    This being said, I’ll share this with the team and we may be able to implement something in the future, however, this is not possible at the moment simply because of how the app is working. While I completely understand the option of using this, please note that this is not a WP plugin.

    For the time being, I would suggest making changes within the wp-admin or making sure to purge the cache after the content is changed in the app.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Changes made in WooCommerce App don’t purge cache’ is closed to new replies.