wp-redis
wp-redis copied to clipboard
WordPress Object Cache using Redis.
Good morning, I just received an email from my wordpress site that is on Pantheon that WP Redis has caused an error on my live site. I had just updated...
On line 1307 of object-cache.php the port needs to be cast to a string to prevent a deprecated warning when the port is zero when using php 8.1
When configured a Redis socket in `wp-config.php`: ```php $redis_server = array( 'host' => '/var/run/redis/redis.sock', 'database' => 0, // Optionally use a specific numeric Redis database. Default is 0. ``` Then...
Connect via unix socket instead of filesystem to be compatible with php open_basedir restrictions.
Hi, I have implemented an open_basedir restriction in my PHP configuration to prevent PHP execution outside of the "/var/www/html/" directory. However, I am perplexed as to why the object cache...
https://github.com/pantheon-systems/wp-redis/blob/4e8c04e1db484bd2f72a6b3d92532f7dd3ae40c3/object-cache.php#L1268C3-L1268C44 It appears that the "file_exists" function does not know how to handle files with `tls://` prefix. the specific warning is ``` Warning: file_exists(): Unable to find the wrapper "tls"...
Since there's a wp-cli command to display some basic Redis info, why not make it available in WordPress' own health check interface? This is the "I banged it out in...
Hi support I am having multiple errors in my log saying that connection to redis timeout I am using bitnami WP image hosted on a k8s cluster on Azure ,...
Better test coverage through the CLI tool would have helped us avoid #410 and #418 slipping through the cracks. Some WIP/prior art: - #414 - https://github.com/wp-cli/wp-cli-tests c/f [this conversation in...
Comparing this plugin with other abandoned wp redis plugin here: https://github.com/pressjitsu/pj-object-cache-red Profiler: xhprof Tested data: ``` $args = array( 'orderby' => 'rand', 'return' => 'ids', 'status' => 'publish', 'visibility' =>...