thanks for your work, I have 2 simple questoins 1- how to find a specific word in ssh window? could redis object cache be used with another cache plugin together? like W3 Total chach?
Thank you brother. Just one question again. Elementor pages will be cached by redis or not ? I know CSS files are static and it will be served by CDN. But As much as i know elementor makes shortcodes for widgets on pages in backend and it converts to HTML when any page request creates. So that elementor widget is static or dynamic ? CDN or redis for elementor ?
Please Help: How do I uncomment lines In the Terminal? I mean, after searching and adding lines, how do I save it? Which Windows key do I need to press for the changes to save? (I Uses the light sail Brower Terminal) Thanks In advance
@@MukeshsTechSpace This link helped me, I didn't know the commands that could be used either. Thank you very much for the video, I did it today and it worked for me, not in an impressive way but the cache of this method helped me. Greetings from Mexico.
Good question. I believe Redis server will be updated as part of the system updates (maybe critical patches only) but yes you can manually update it. I don't think both are interdependent for updates.
I can't install php redis extension using the command ( sudo pecl install redis ). I have followed all the steps and redis server is running. I am getting notification that "No release available for package "pecl.php.net/redis". install failed". what could be the reason? Thanks
Hi there, great tutorial! just a quick question if you can point me in the right direction: are there any special concerns in order to set this up for a multi-instance environment? i'm using a lightsail load balancer with 2 instances and also an external RDS database, but there seems to be an issue with cache invalidation from one instance to the other. (when a saved query is updated in instance A, it does not replicate to instance B, so for example some woocommerce orders in Instance A change to status processing, but for B they remain with status "pending" of course they have the right status in the database but i'm guessing that is being cached and not updated in both instances)
I'm not sure. Redis with the way I show only works with the WordPress site on that instance. Similar to the mysql database you may have to move Redis to a dedicated instance and point each instance to it.
After greeting First, excellent hosting, I did everything on lightsail, but there is a problem within the webmaster tools, which is the most important site that puts a link to your site, which is the public IP. How do I solve this problem Thank you so much
I'm not entirely sure on multi-site setup. My suggestion would be to keep your top-level domain in wp-config. However check if the redis plugin supports multi-site setups, if it does then you can enable it for all the subsites you have. If it doesn't then perhaps look into W3 Total Cache plugin and configure it for your multisite and redis. Try this on a non-live server since this is only a suggestion. Good luck
I'm also looking to merge two sites one of which i mentioned earlier i tried to export the content and tried to import it to the destination site but an error pop up and it says couldn't connect to local host.
Thanks. I am not sure of any issues with woocommerce. Might need some configurations. Here is an article that may help: wp-rocket.me/blog/cache-plugin-for-woocommerce/#section-4
I've moved my sites recently to lightsail, currently i've 3 sites hosted there so the problem is one of my site is quite heavy kindly guide me what would be that best solution for that to keep it up and running.
You should checkout my tutorial on Lightsail Alarms to see how to look at metrics: ruclips.net/video/eBkSJeQ3YBw/видео.html. That will indicate if your server is out of resources. If it is then you may try upgrading to higher instance plan (ruclips.net/video/54Z-Zt44ZAY/видео.html). If you are not getting high traffic and still resources are high, it is indication that you have plugin or code issues. Good Luck
A very useful tutorial, thank you!
Thanks for another great video. One request if you can make video on using varnish cache on bitnami WordPress instance.
Thanks! I will try.
Mera Naam Mukesh hai... Just Kidding Keep it up.
Thanks
is there any conflict using this if i already have a cdn distribution on my wordpress intances?
thanks for your work, I have 2 simple questoins
1- how to find a specific word in ssh window?
could redis object cache be used with another cache plugin together? like W3 Total chach?
Another great video. One question: which is better, redis or memcached to make websites load very fast?
Thanks. I'm not sure at this point, but I've read Redis maybe more beneficial for WordPress.
Thank you brother.
Just one question again. Elementor pages will be cached by redis or not ?
I know CSS files are static and it will be served by CDN. But As much as i know elementor makes shortcodes for widgets on pages in backend and it converts to HTML when any page request creates.
So that elementor widget is static or dynamic ?
CDN or redis for elementor ?
HTML usually isn't cached. Redis will cache the objects so the plugins wouldn't have to query mysql to render the widgets.
Please Help: How do I uncomment lines In the Terminal? I mean, after searching and adding lines, how do I save it? Which Windows key do I need to press for the changes to save? (I Uses the light sail Brower Terminal) Thanks In advance
This video may help: ruclips.net/video/WI8HiuMmouo/видео.html
@@MukeshsTechSpace This link helped me, I didn't know the commands that could be used either. Thank you very much for the video, I did it today and it worked for me, not in an impressive way but the cache of this method helped me. Greetings from Mexico.
Hi Mukesh, is the Redis save cache in server? If yes, how to remove cache with certain interval?
Hello Mukesh, does Redis needs to be manually updated on the server when the Redis Wordpress plugin gets an update?
Good question. I believe Redis server will be updated as part of the system updates (maybe critical patches only) but yes you can manually update it. I don't think both are interdependent for updates.
Hi Mukest, thank You for sharing. But l have a doubt. The maxmemory always has to be 256mb?
I found that to be common setup for WordPress although that can be changed to better fit the website needs.
@@MukeshsTechSpace Thank you.
I can't install php redis extension using the command ( sudo pecl install redis ). I have followed all the steps and redis server is running. I am getting notification that "No release available for package "pecl.php.net/redis". install failed". what could be the reason? Thanks
I think pecl.php.net is down at the moment. Try after some time.
Make a video elastcache redis with lightsai
Will try
Not Able Write 256mb on using lightsail ssh
If you are using a new instance see this video: ruclips.net/video/KwGRvT2RcX8/видео.html
Also be sure to use sudo for opening files.
Hi there, great tutorial! just a quick question if you can point me in the right direction: are there any special concerns in order to set this up for a multi-instance environment? i'm using a lightsail load balancer with 2 instances and also an external RDS database, but there seems to be an issue with cache invalidation from one instance to the other. (when a saved query is updated in instance A, it does not replicate to instance B, so for example some woocommerce orders in Instance A change to status processing, but for B they remain with status "pending" of course they have the right status in the database but i'm guessing that is being cached and not updated in both instances)
I'm not sure. Redis with the way I show only works with the WordPress site on that instance. Similar to the mysql database you may have to move Redis to a dedicated instance and point each instance to it.
@@MukeshsTechSpace perfect, thanks a lot man! Love your channel lots of useful and actionable guides
Thanks for the comments!
Interesante caso!
After greeting
First, excellent hosting, I did everything on lightsail, but there is a problem within the webmaster tools, which is the most important site that puts a link to your site, which is the public IP. How do I solve this problem
Thank you so much
I'm not sure. try to use a search / replace plugin to make sure all references point to a domain name and not IP in your content. Good luck.
@@MukeshsTechSpace Thank you very much my friend 🤝
Hi sir I am unable to edit the redis. Conf file kindly help me to add these two line in redis.config
1. Maxmemory 25mb
2.maxmemory-policy alkeys-lfu
make sure you are opening the file with sudo command. Other than than I'm not sure why you wouldn't be able to edit the file.
I am running a multi site, when I add my domain name to php should I list each subdomain or just my top level domain name?
I'm not entirely sure on multi-site setup. My suggestion would be to keep your top-level domain in wp-config. However check if the redis plugin supports multi-site setups, if it does then you can enable it for all the subsites you have. If it doesn't then perhaps look into W3 Total Cache plugin and configure it for your multisite and redis. Try this on a non-live server since this is only a suggestion. Good luck
I'm also looking to merge two sites one of which i mentioned earlier i tried to export the content and tried to import it to the destination site but an error pop up and it says couldn't connect to local host.
In this tutorial: ruclips.net/video/4Ec5nU-N6jw/видео.html I show how to use a migration plugin to move a site. Good Luck.
Thanks a lot
You're welcome
Will it be causing any issue with Wordpress woocommerce website? Concerned for logged in users' personal cart pages and other ecomm processes?
BTW, great tutorial
Thanks. I am not sure of any issues with woocommerce. Might need some configurations. Here is an article that may help: wp-rocket.me/blog/cache-plugin-for-woocommerce/#section-4
@@MukeshsTechSpace Great! Thank you :)
Can We Use Redis Along With Wp Rocket And For WordPress MultiSite
Sorry I don't have experience with Wp Rocket so not sure. You can try creating a duplicate non-prod instance and try it out.
Hi, at 13:22, should I add 'www' in front of my website's url or just keep the domain only and leave out 'www?'
It should not matter. You can leave it with 'www' or without. Thanks.
@@MukeshsTechSpace Thanks. 😊
Pecl install redis not working ,
Comand 'pecl' not found, but can be installed with:
apt install php- pear
You will need to install pecl if your instance doesn't have it. Install PEAR which comes with PECL. sudo apt-get install php-pear
@@MukeshsTechSpace Ohk thanks.
Keep up good work.
I've moved my sites recently to lightsail, currently i've 3 sites hosted there so the problem is one of my site is quite heavy kindly guide me what would be that best solution for that to keep it up and running.
You should checkout my tutorial on Lightsail Alarms to see how to look at metrics: ruclips.net/video/eBkSJeQ3YBw/видео.html. That will indicate if your server is out of resources. If it is then you may try upgrading to higher instance plan (ruclips.net/video/54Z-Zt44ZAY/видео.html). If you are not getting high traffic and still resources are high, it is indication that you have plugin or code issues. Good Luck
@@MukeshsTechSpace thank you so much bhai ❤️❤️❤️
You're welcome
how to install redis on amazon linux ec2 ??
You can install using the package manager of AWS Linux or compile it from scratch.