General: Toggle all caching 切换的
Page Cache: Enable
Page cache method: Memcache
Minify: Enable
Minify mode: Auto
Minify cache method: Memcache
Database Cache:Enable
Database Cache :Enable
Database cache method: Memcache
Object Cache:Enable
Object Cache :Enable
Object cache method: Memcache
Browser Cache:Enable
Database Cache :Enable
如果memcache不是默认端口,需会出现如下报错:
The following memcached servers are not responding or not running:
Page Cache: 127.0.0.1:11211.
Minify: 127.0.0.1:11211.
Database Cache: 127.0.0.1:11211.
Object Cache: 127.0.0.1:11211.
This message will automatically disappear once the issue is resolved.
这时, 就需要到 \wp-content\plugins\w3-total-cache\ini\memcache.ini中将memcache.default_port改为你对应的端口。
同时, 再到\wp-content\w3tc-config\master.php中改端口为你对应的端口