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

WordPress Method to Clear Memcached Cache

After moving the serverMemcached cache had not been started yet. Today, after starting it, the previous cache was still not cleared, so I had to manually clean the WordPress Memcached cache files. The methods found online are all telnet-based. If telnet is not installed on a Linux server, you need to manually install it once. 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 Memcached cache in the WordPress backend, which is through a plugin. A few years ago, webmasters who enabled Memcached cache probably used the object-cache.php file from GitHub. In recent years, those enabling Memcached cache likely use the object-cache.php that comes with the WPJAM plugin by Shui Zhu Yu. That is to say, if you have installed the WPJAM plugin by Shui Zhu Yu, 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.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the 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 QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: