在
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.

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.