WordPress Multisite and problem with "options" caching…
-
Hi,
I have an issue with your plugin, WordPress or maybe it’s a mix of both. I am not sure.
I have a custom plugin in my multisite setup that does this call :
update_option(“domainmap_frontend_mapping”,”user”);and a simple SQL query quickly tells me that it has indeed been updated correctly.
However, a call to this function ? get_option(“domainmap_frontend_mapping”) ? return blank when it should return “user”..
Until I clear the redis cache (sudo redis-cli flushall) and then the get_option call return the correct value.
Do you have any type of clue as to how I can clear only the “wp_8888_options” cache? or better, how can I update the redis-cache & the database at the same time?
Thanks for your help, your plugin is great and has help me to speed up my backend to a great deal.
- The topic ‘WordPress Multisite and problem with "options" caching…’ is closed to new replies.