Redis Cache By Xon

Redis Cache By Xon 2.18.1

No permission to download
I'm just curious. What are you using on your sites if you use Redis?

I'm wondering what kind of "penalty" I'm incurring with my Redis only being at 5.03 and whether I should move to Valkey.
I was on 5.03. A few SSH commands later and I upgraded to the latest version. The post after the one that is linked talks about some benefits of going to Valkey.
 
I'm just curious. What are you using on your sites if you use Redis?
I'm using redis v7.x atm, largely because I haven't had a need to change things over and it works well enough. I've been waiting for dragonflydb to have less churn before evaluating it or trying another redis fork
 
I was on 5.03. A few SSH commands later and I upgraded to the latest version. The post after the one that is linked talks about some benefits of going to Valkey.
I'm unclear on how you did this. What are the SSH commands?

I see this from the thread:

Code:
dnf module reset redis
Install latest RPM
Upgrade
Restart

One of those appears to be a Linux command but "Install latest RPM" is not.

Sorry to sound dense but do you have the list of commands?
 
Update ES to v7x on Almalinux (8, 9) (Centos)
Code:
dnf module reset redis
sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm -y
dnf module enable redis:remi-7.0
dnf upgrade
systemctl restart redis
Change to remi-release-8 if on Almalinux 8
 
Update ES to v7x on Almalinux (8, 9) (Centos)
Code:
dnf module reset redis
sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm -y
dnf module enable redis:remi-7.0
dnf upgrade
systemctl restart redis
Change to remi-release-8 if on Almalinux 8
You totally rock. Thanks for taking the time to provide this.

I have AlmaLinux 8 so I changed that second like as you instructed.

I'm now on 7.0.15.
 
Nice (y), per @dutchbb in THIS POST the latest version for Alma8 is actually 7.2.7 so if you want the latest Redis just reapply using: (only takes a few minutes).
Code:
dnf module reset redis
sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm -y
dnf module enable redis:remi-7.2
dnf upgrade
systemctl restart redis
 
Last edited:
Nice (y), per @dutchbb in THIS POST the latest version for Alma8 is actually 7.2.7 so if you want the latest Redis just reapply using: (only takes a few minutes).
Code:
dnf module reset redis
sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm -y
dnf module enable redis:remi-7.2
dnf upgrade
systemctl restart redis


I'm using Almalinux 8 with Redis 7.4.1. This information may not be correct.
 
wp_post_id is unrelated to my add-ons. Going by naming it may be an wordpress linking add-on?

All src/addons/SV/RedisCache/XF/Service/Thread/Mover.php does is invalidate thread count caches.
 
wp_post_id is unrelated to my add-ons. Going by naming it may be an wordpress linking add-on?

All src/addons/SV/RedisCache/XF/Service/Thread/Mover.php does is invalidate thread count caches.
Yes indeed i deleted the message cos i found the cause was a different add-on, the author fixed the bug.
 
Can someone who knows answer?
Do I just add these codes to the config.php file?
PHP:
$config['cache']['enabled'] = true;
$config['cache']['sessions'] = true;
$config['cache']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['config'] = [
    'server' => '127.0.0.1',
    'port' => 6379,
];

Or should I enter my own server's IP information in the server field?
 
did you try 127.0.0.1? This is the address of localhost and refers to the server the script is running on.
I get an error and the site won't open. I go to this location via Filezilla. /public_html/src - is config.php the correct file?
 
Back
Top Bottom