• Resolved immunity20

    (@immunity20)


    Hello, I want to install the plugin to my wordpress/woocommerce website.

    Twice per day a php script runs (outside wordpress) that edit multiple products’ price. The plugin will flush its cache data when an update for a product is done throught wordpress (for example admin’s dashboard).

    So when the php script (outside WordPress) is running i should also run a php shell command to flushall the redis server?

    Is my thought correct?

    • This topic was modified 4 years, 7 months ago by immunity20.
    • This topic was modified 4 years, 7 months ago by immunity20.
Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    That depends on how you update the price.

    If you’re using the WC/WP API then the cache will be in sync, if you touch the database rows directly, then you should do a complete flush.

Viewing 1 replies (of 1 total)
  • The topic ‘Redis cache + Editing WordPress DB with script (outside WP)’ is closed to new replies.