Title: Problem with caching
Last modified: January 31, 2024

---

# Problem with caching

 *  Resolved [developermain91](https://wordpress.org/support/users/developermain91/)
 * (@developermain91)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problem-with-caching-10/)
 * Hello. I have a problem, on some page I get data from wp_options and display 
   it. This page also created a form to delete this data, when I submit the form
   to delete the data from the database, it is deleted, but when I print the data
   var_dump(get_option(‘stat_data_123’)) data apear, there is no data in the wp_oprions
   table in phpMyAdmin. How can I fix this without clearing the entire Redis cache

Viewing 1 replies (of 1 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/problem-with-caching-10/#post-17388280)
 * Can you post your code in a GitHub gist?
 * If you use `update_option()` then the cache will be updated. If you run SQL queries
   manually it will not.

Viewing 1 replies (of 1 total)

The topic ‘Problem with caching’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/problem-with-caching-10/#post-17388280)
 * Status: resolved