Advertisement

Redis and Joomla 4

Discussion regarding Joomla! 4.x Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
User avatar
adrian_vg
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Wed Apr 23, 2014 3:06 pm
Location: Sweden

Redis and Joomla 4

Post by adrian_vg » Thu Jan 05, 2023 7:40 pm

Hi all,

Not sure how this works in Joomla 4, but Joomla 3 had a GUI of sorts in Global configuration for Redis IIRC.

Can Joomla 4 use Redis or am I constrained to Joomla's builtin cache systems for pages etc?

Thanks for any insights.
--
//AvG

Advertisement
Ennovative
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Mar 10, 2023 10:50 am
Contact:

Re: Redis and Joomla 4

Post by Ennovative » Wed Apr 05, 2023 10:31 am

This should work:

1.) Log in to your Joomla site as the administrator.
2.) In the left sidebar, click System.
3.) Under Setup, click Global Configuration.
4.) Click the System tab.
5.) In the Session section, in the Session Handler list box, select Redis.
6.) Configure the Redis connection settings:

- If you have a Managed VPS or Dedicated Server, confirm the Redis Server Host/Sock text box is set to localhost, and confirm the Redis Server Port text box is set to 6379.

- If you have a Turbo shared or reseller account, in the Redis Server Host/Sock text box, type /home/username/.redis/redis.sock, where username represents your account username.

7.) Click Save & Close. Redis is now enabled for Joomla.

User avatar
adrian_vg
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Wed Apr 23, 2014 3:06 pm
Location: Sweden

Re: Redis and Joomla 4

Post by adrian_vg » Wed Apr 05, 2023 11:21 am

Hello!

Step 5, I only have database and filesystem visible there.

Will Joomla 4 automagically sense if I have Redis installed on my web server, and present a Redis choice in step 5?
--
//AvG

janviev12
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Jul 13, 2015 12:24 pm

Re: Redis and Joomla 4

Post by janviev12 » Fri Feb 16, 2024 5:31 pm

I know this is an old thread, however I was looking for a way to further enhance the performance of my Joomla 4.4 site and I found this page which explains quite well how to configure Redis for Joomla 4
https://chemicloud.com/kb/article/how-t ... in-joomla/

I haven't tried it yet, I don't even know if there is a PHP extension for Redis to enable, however as soon as I've tested it I'll update this post

User avatar
adrian_vg
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Wed Apr 23, 2014 3:06 pm
Location: Sweden

Re: Redis and Joomla 4

Post by adrian_vg » Mon Feb 19, 2024 9:33 am

janviev12 wrote: Fri Feb 16, 2024 5:31 pm I know this is an old thread, however I was looking for a way to further enhance the performance of my Joomla 4.4 site and I found this page which explains quite well how to configure Redis for Joomla 4
https://chemicloud.com/kb/article/how-t ... in-joomla/

I haven't tried it yet, I don't even know if there is a PHP extension for Redis to enable, however as soon as I've tested it I'll update this post
Cool, thanks!
Still don't have a Redis-choice in cache handler-field.
I kinda' gave up on Redis a while ago.
My website isn't that big or trafficked, so Redis or not isn't crucial in any way.
I might look into Redis again, later. It'd feel better. :-)
--
//AvG

Advertisement

Post Reply

Return to “Performance - Joomla! 4.x”