pantheon-systems / wp-redis

WordPress Object Cache using Redis.
https://wordpress.org/plugins/wp-redis/
GNU General Public License v2.0
225 stars 67 forks source link

[Feature Request] Bypass Redis cache on demand #365

Open lolliweb opened 1 year ago

lolliweb commented 1 year ago

Is there a way to bypass the redis cache for a php script and request directly the mysql database (use case: multiple update then select actions. With redis enabled, the cache does not have the updated values. And I don't want to flush the cache while the php script is running)? Thanks.

kporras07 commented 1 year ago

Hi, I created an internal ticket to investigate this properly. In the meantime, any info that you could provide on your use case would be really appreciated (e.g. what functions you're using, what queries you're running, how do you retrieve the cached values later, how do you currently workaround this issue).

Thanks!