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

  Рет қаралды 29,028

WPCasts

WPCasts

Күн бұрын

Пікірлер: 46
@WPCasts
@WPCasts 5 жыл бұрын
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 Let me know what else you'd like to learn in the comments or Twitter: twitter.com/_WPCasts_tv_
@lmind2
@lmind2 3 жыл бұрын
Really appreciate you posting this information. Just a quick note--not sure why you're using the sudo command when you're already root? Also, please mention "keys" command should never be run in a prod environment because of high time complexity. It puts Redis into a blocking state, and as Redis is single-threaded, this results in impaired performance.
@LaurenceBahiirwa
@LaurenceBahiirwa 5 жыл бұрын
This is my first time interacting with Redis. Need to read about it first. The real basics.
@Nazreen
@Nazreen 5 жыл бұрын
A big thumbs up for contents you post. I am sure your channel will grow over time. Keep going, Good luck! 👍
@tayyabrafique2671
@tayyabrafique2671 4 жыл бұрын
Thanks for the great video. One question is if we update any post from backend it will automatically re cached on Redis?
@LevyCarneiro
@LevyCarneiro 4 жыл бұрын
Yes.
@skeepskeeperson
@skeepskeeperson 5 жыл бұрын
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.
@elpizza2457
@elpizza2457 4 жыл бұрын
Still working fine?
@skeepskeeperson
@skeepskeeperson 4 жыл бұрын
@@elpizza2457 no problems really. Still working fine.
@nelke.michael
@nelke.michael Жыл бұрын
Thanks for sharing! I was wondering about it predis. Good to read your feedback and experience.
@ddrci88
@ddrci88 4 жыл бұрын
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 ?
@justindouglas3659
@justindouglas3659 2 ай бұрын
Redis does object caching that is to store db queries wprocket is for page caching storing tje html, css and js
@Mr.Thenula2011
@Mr.Thenula2011 4 жыл бұрын
Hi Mate, great video one question though, does Redis has to be in the same server, can it be in the different server?
@peterngochannel
@peterngochannel 3 жыл бұрын
would be interested to know thí á well.
@FranciscoMarcosMilhomemAbreu
@FranciscoMarcosMilhomemAbreu 3 жыл бұрын
I also want to know.
@tomdevisser4851
@tomdevisser4851 3 жыл бұрын
Can you use Redis next to WP Rocket or should you choose just one?
@udorblessing
@udorblessing 3 жыл бұрын
This was quite helpful. Thank you for the insight
@HaifengZhu-pn3uq
@HaifengZhu-pn3uq Жыл бұрын
hi, if I'm not using Digital Ocean, do I need to change to SystemD?
@hopeseekr
@hopeseekr 5 жыл бұрын
Wow! I can *cleanly* and completely understand you!! None of the crappy thick thick accents!
@lorenzi_feinste_stahlwaren
@lorenzi_feinste_stahlwaren Жыл бұрын
Great tutorial, thank you very much!! 👌🙏👏👏
@Kqto
@Kqto 5 жыл бұрын
Great video. Now, can you tell me which cache is better for WordPress: redis or memcache?
@WPCasts
@WPCasts 5 жыл бұрын
I’m honestly not sure. I’m just more comfortable with Redis :)
@yaybert
@yaybert 5 жыл бұрын
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?
@indigetal
@indigetal 4 жыл бұрын
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.
@carlosbrito2116
@carlosbrito2116 4 жыл бұрын
this plugin can register activity usin wordpress api rest endpoints i need caching more endpoints
@ddrci88
@ddrci88 4 жыл бұрын
Hi why not using cyberpanel ? It’s more easy to handle everything ?
@LevyCarneiro
@LevyCarneiro 4 жыл бұрын
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!
@asadferozali21
@asadferozali21 4 жыл бұрын
which terminal, font settings are you using
@hopeseekr
@hopeseekr 5 жыл бұрын
This is an A++ video tutorial. I have subscribed.
@Fayaz-Rehman
@Fayaz-Rehman 3 жыл бұрын
Excellent - well explained - Thank you
@mandrael
@mandrael 2 жыл бұрын
What is the disadvantage or risk if I use redis?
@lovequotes1739
@lovequotes1739 4 жыл бұрын
Can you do one of these for centos please.
@sachintiwari2289
@sachintiwari2289 3 жыл бұрын
Can i install varnish with it !
@aleejunaid
@aleejunaid 4 жыл бұрын
I've heard Redis is a CPU hungry resource - What is your experience with this Wordpress setup
@aleejunaid
@aleejunaid 4 жыл бұрын
Love your videos
@EricThomson
@EricThomson 3 жыл бұрын
Whenever I enable Redis, Query Monitor disappears. The plugin shows Activate but will not let me. When I disable Redis (plugin or server) then Query Monitor opens like nothing happened. Any ideas??
@ramzanulhasan
@ramzanulhasan 4 жыл бұрын
we are using Virtualmin can we setup redis now?
@vladtircomnicu1630
@vladtircomnicu1630 4 жыл бұрын
Nice one
@KunalGautam
@KunalGautam 5 жыл бұрын
Please enlighten me for using sudo under root user.
@WPCasts
@WPCasts 5 жыл бұрын
That could be a mistake
@KunalGautam
@KunalGautam 5 жыл бұрын
@@WPCasts Thanks for reply I thought I missed something :)
@uthmaanabrahams8443
@uthmaanabrahams8443 5 жыл бұрын
awesome
@indian3960
@indian3960 4 жыл бұрын
can we install WordPress on the Redis database without MySQL? and the address not found phpredis, new address github.com/phpredis/phpredis/archive/develop.zip
@wnywebdevelopment8757
@wnywebdevelopment8757 4 жыл бұрын
Thank you
@sulaimanmisri6411
@sulaimanmisri6411 4 жыл бұрын
Hey, how to make search menu appear? You should tell everyone that. Not all pro like you :(
@ddrci88
@ddrci88 4 жыл бұрын
Or you just install litespeed server :)
How to Install and Configure Redis for WordPress
4:11
Tony Teaches Tech
Рет қаралды 16 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 380 М.
How to set up Redis with LiteSpeed Cache
6:18
LiteSpeed Technologies
Рет қаралды 12 М.
Резервное копирование WordPress. На хостинге и плагином UpdraftPlus
15:48
Цифровой Алекс (ранее WPlovers)
Рет қаралды 6 М.
Setup Https on Digital Ocean Ubuntu Server (Nginx and Certbot)
10:46
CodingWithMitch
Рет қаралды 40 М.
Caching Mysql Query Responses in Redis using PHP
21:14
CS with NJ
Рет қаралды 12 М.
Configuring Redis with Wordpress
8:22
The WordPress Guy
Рет қаралды 5 М.
Redis : The Basics for beginners
21:28
That DevOps Guy
Рет қаралды 31 М.
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 663 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН