Cache issues
-
I am having some odd behavior with some queries that is hard to pin down. We recently installed redis on our wordpress server running woocommerce. I had some users seeing stale information in their shopping cart and it is from a query in our plugin. The plugin does a simple sql query and stores that info using wp_cache_set. When the function starts it calls wp_cache_get to see if the info is present uses that if it is.
I am trying to wrap my head around what your plugin is doing vs what redis does on the backend. Are you caching sql calls to the database? are you caching wp_cache_get calls? At what layer are you caching info? The tech for our web host told me that Redis was already caching sql calls and that the plugin was not needed for that, so I am assuming you are NOT caching sql results? Any clarity on what is going on behind the scenes would be appreciated.
- The topic ‘Cache issues’ is closed to new replies.