如何通过SFTP/SSH清除网站缓存?

发布于 2025-02-12 15:54:35 字数 72 浏览 1 评论 0原文

我通过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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

垂暮老矣 2025-02-19 15:54:35

默认情况下,WordPress没有真正的缓存。如果您觉得启用了缓存系统,则取决于您使用的内容。是W3总缓存,W​​P火箭,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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文