如何通过SFTP/SSH清除网站缓存?
我通过SFTP/SSH连接到WordPress网站,无论如何我是否有从这里清除缓存?我不确定要寻找什么文件或文件夹,或者是否可能?
I'm connected to a Wordpress site via SFTP/SSH, is there anyway for me to clear the cache from here? I'm not sure what file or folder to be looking for or if it's even possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,WordPress没有真正的缓存。如果您觉得启用了缓存系统,则取决于您使用的内容。是W3总缓存,WP火箭,WP Super Cache ECC ...之类的插件吗?
还是您有一些服务器端缓存系统?给我们一些更多信息,我们可以进一步帮助您。
如果您有一个插件,则可能会在内部 /wp-content中找到一个缓存文件夹,请在此处查找“%cache%”文件夹(其中%是通配符,它们可以在文件夹目录名称上附加插件前缀 /后缀)
Wordpress by default has no real cache. If you feel you have a caching-system enabled then it depends on what you are using. Is that a plugin like w3 total cache, wp rocket, wp super cache ecc... ?
Or maybe you have some server side caching system? Give us some more info and we can help you further.
If you have a plugin you may find a cache folder inside /wp-content, look there for a "%cache%" folder (where the % are wildcard, they can have the plugin prefix/suffix attached to the folder directory name)