事实上这个操作是需要仔细阅读官方文档才能找到的。目前为止,任何语言模型以及网站都没有详尽说过如何操作实现。

也许根本没人关注或者需要这样的功能~无妨,既然我通过文档找到了方案,就随手总结下官方文档的内容供有缘者参悟吧:

In the following example, Traffic Server is running on the domain example.com and you want to remove the image remove_me.jpg from cache. Because by default we do not permit PURGE requests from any other IP, we connect to the daemon via localhost:

curl -vX PURGE --resolve example.com:80:127.0.0.1 https://example.com/remove_me.jpg

参考资料

Removing an Object From the Cache


如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。

尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。


与《trafficserver 如何根据路径删出缓存》相关的博文:


留言

avatar
😀
😀😁😂😅😭🤭😋😘🤔😰😱🤪💪👍👎🤝🌹👌