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

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.