🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Methods for Clearing Memcached Cache in WordPress

After migrating the serverMemcached cache had not been started yet. Today, after starting it, the previous cache was still not cleared, so I had to manually clear the WordPress Memcached cache files. The methods found online mostly involve telnet. If telnet is not installed on the Linux server, you need to install it manually. The command to install telnet on CentOS is as follows:
yum install telnet telnet-server
Then, enter the following command to clear the Memcached cache information.
telnet localhost 11211
flush_all
ctrl + ] //回车,输入这个后才能退出
quit //退出
Of course, there is another more convenient method,Directly clear the Memcached cache from the WordPress Admin Dashboard.That is, through the Plugin method. A few years ago, website owners who enabled Memcached caching probably used the object-cache.php file from GitHub. In recent years, those enabling Memcached caching have likely been using the object-cache.php file that comes with the WPJAM Plugin by Shuizhuyu. In other words, if you have installed the WPJAM Plugin by Shuizhuyu, you can manually clear the cache through the system information interface of this Plugin.Memcached缓存清理

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow