编辑wp-config.php,加上一句:

// Enable the WordPress Object Cache:
define(ENABLE_CACHE, true);

在wp-content目录下建立cache文件夹并赋予777权限
mkdir ./wp-content/cache
chmod 0777 ./wp-content/cache

都设置了 但是在./wp-content/cache 木有见到缓存文件啊。。。咩也没有。。。