User-Profile-Image
hankin
  • 5
  • 首页
  • 分类
    • Windows
    • Web
    • VoIP
    • Virtualization
    • Trading
    • Smart Home
    • SEO
    • Security
    • Python
    • Program
    • PHP
    • OSX
    • OS
    • OpenSource
    • Nginx
    • MySQL
    • Mood
    • Linux
    • Life
    • Injection
    • Hosting
    • Finance
    • Exploits
    • CDN
  • 页面
    • About
  • 友链
    • 维酷科技
Help?

Please contact us on our email for need any support

Support
  • 首页
    首页   ›   Web   ›   正文
Web

kangle清除缓存接口

2020-03-01 06:10:55
3200  0 0

kangle作为前端反向代理服务器十分方便,但是缓存服务器就涉及到如何便捷清理缓存。

kangle内置有缓存清理接口

http://localhost:3311/core.whm?whm_call=clean_cache&url=[模式]url1, [模式]url2
模式:
1=正则,区分大小写
2=正则,不区分大小写
3=匹配前面部分
0=精确匹配

比如要删除https://prodigyu.com/的所有缓存。
http://localhost:3311/core.whm?whm_call=clean_cache&url=3https://prodigyu.com/

只删除首页缓存
http://localhost:3311/core.whm?whm_call=clean_cache&url=0https://prodigyu.com/

评论 (0)

Click here to cancel reply.

欢迎您 游客  

    ProdigYu
    181文章 41评论 5点赞 721480浏览
    随机文章
    MySQL导入导出数据库备份还原 – mysqldump
    10年前
    浏览器console控制台自动刷新js代码
    5年前
    CentOS通过命令导入导出MySQL备份文件
    12年前
    总结Apache 2.2.X 动态添加mod_perl
    16年前
    Windows下对路由表简单操作
    12年前
    Tags
    Apache CentOS CMD DDOS Debian DNS Docker FastCGI Google IIS IP iptables Linux Mac MySQL Nginx Opensource PHP Python Skill SSH Ubuntu Vim VMware VPN web.py Windows 删除 命令 命令提示符 安装 开源 技巧 插件 漏洞 百度 系统 组件 终端 缓存 网络电话 脚本 自建 详解 错误
    Meta
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Copyright © 2026
    主页
    页面
    • About
    博主
    ProdigYu 管理员
    Something about myself
    181 文章 41 评论 721480 浏览
    测试
    测试