How To Use Redis

Share on facebook
Share on twitter
Share on reddit
Share on linkedin
Share on pinterest
Share on email
QuestionsCategory: General QuestionsHow To Use Redis
Scott Gingrich
asked 6 months ago

Hi Adam,

In your YouTube video talking compairing the speed of Astra, Ocean, et al, you mentioned Redis being part of your performance stack.

Can you share any advice/experiences using it?



2 Answers
Adam @ WPCrafter Staff answered 4 months ago

Redis is one thing I have been wanting to make a video on.

It's super easy to implement (depending on your hosting company).

For Cloudways, it's super easy to implement. But for shared hosting providers or managed WordPress hosting, you don't get options for it. WordPress is slow at times because its always retrieving data from a database. Redis reduces this by storing that data in memory. It delivers a huge speed boost.

How to implement on Cloudways

– Turn the feature on in your Cloudways control panel

– Install the official Redis plugin on your WordPress website

– There is a small bit of code you need to add to your wp-config file

* Authentication Unique Keys and Salts.
* Change these to different unique phrases!
* You can generate these using the {@link secret-key service}
define(‘WP_CACHE_KEY_SALT', ‘');
define(‘WP_CACHE', true);

Scott Gingrich
answered 4 months ago

Thanks Adam. I'm giving Redis serious consideration to add to my dedicated server. 

Adam @ WPCrafter Staff replied 4 months ago

Nothing beats it. For me, it’s a must-have. Server-side caching will always deliver better results.