How To Setup Redis Caching For WordPress In A Few Simple Steps

preview_player
Показать описание
In this video, I show you how to install Redis on an Ubuntu server, install the #PHP extension to make #Redis talk to PHP, and finally install the #WordPress plugin that will tie it all together. Everything is done on Digital Ocean so you can easily follow along :)

**SOCIAL**
Рекомендации по теме
Комментарии
Автор

A big thumbs up for contents you post. I am sure your channel will grow over time. Keep going, Good luck! 👍

Nazreen
Автор

Things I'd like to cover in a more comprehensive video on Redis:

1. Password protection
2. Speed metrics
3. Managing Redis on a separate server


WPCasts
Автор

Thanks for the great video. One question is if we update any post from backend it will automatically re cached on Redis?

tayyabrafique
Автор

This is my first time interacting with Redis. Need to read about it first. The real basics.

LaurenceBahiirwa
Автор

Great tutorial, thank you very much!! 👌🙏👏👏

lorenzi_feinste_stahlwaren
Автор

Wow! I can *cleanly* and completely understand you!! None of the crappy thick thick accents!

hopeseekr
Автор

This was quite helpful. Thank you for the insight

udorblessing
Автор

Do we still need to install caching plugin like wp rocket w cache or something else ? What is the next level we can make better ? Can I connect with cloudflare ?

ddrci
Автор

I was able to get this working on Ubuntu with the PPA "ppa:ondrej/php". So no phpize, make or ./configure needed. Just "sudo apt install redis-server php-redis". The apt install also created all the redis.ini files automatically for me in the /etc/php/7.3/fpm/conf.d/ directory since I'm using nginx.

The only difference I see between the video and what I was able to install is that "Redis Object Cache" is using "Predis" instead of the tutorials "PhpRedis". Not sure if it matters or one is better than the other but it is working nicely. Thank you for this tutorial!

Edit: After doing some reading I read that PhpRedis is 6x faster, so I switched. However, I run "Query Monitor" and my query times jumped after the switch and were a bit slower. At which point I switched back to Predis and my query times are back down again.

 Mainly posting for anyone wanting to use with Ubuntu/nginx/php7.*-fpm.

skeepskeeperson
Автор

Hi Mate, great video one question though, does Redis has to be in the same server, can it be in the different server?

Mr.Thenula
Автор

This is an A++ video tutorial. I have subscribed.

hopeseekr
Автор

Excellent - well explained - Thank you

Fayaz-Rehman
Автор

Following this tutorial but on Centos7 and all was well until 9:39 to install php-dev (sudo yum install php-dev) - no match for argument.

indigetal
Автор

Can you use Redis next to WP Rocket or should you choose just one?

tomdevisser
Автор

hi, if I'm not using Digital Ocean, do I need to change to SystemD?

HaifengZhu-pnuq
Автор

Hi why not using cyberpanel ? It’s more easy to handle everything ?

ddrci
Автор

this plugin can register activity usin wordpress api rest endpoints
i need caching more endpoints

carlosbrito
Автор

Have you ran into an issue where the site works well except one part of it, that will only display correctly if flushing the redis cache? Would you have any tips? Thanks!

LevyCarneiro
Автор

Can you do one of these for centos please.

lovequotes
Автор

Great video! One question: If I have a WP setup with the DB connected to RDS, can I still use Redis? Do I need to connect it to the RDS database, or will connect automatically?

yaybert