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
  • 友链
    • 维酷科技
    • Tesra超算网络
Help?

Please contact us on our email for need any support

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

kangle清除缓存接口

2020-03-01 06:10:55
2658  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
    180文章 77评论 4点赞 561183浏览
    随机文章
    防止虚拟主机用户利用PHP代码DOS造成用光网络带宽
    15年前
    简易DNS快速设置(正反解析)
    15年前
    CentOS单网卡绑定多个IP
    15年前
    基于Python的socket编程
    15年前
    CentOS7\Ubuntu安装VMware Workstation 12
    9年前
    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 © 2025
    主页
    页面
    • About
    博主
    ProdigYu 管理员
    Something about myself
    180 文章 77 评论 561183 浏览
    测试
    测试