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
2629  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点赞 554032浏览
    随机文章
    CentOS7\Ubuntu安装VMware Workstation 12
    9年前
    让WordPress加载时间大幅降低的有效优化方式-Redis
    5年前
    I’m come back.
    15年前
    Squid3.0安装
    13年前
    Windows cwRsync客户端配置
    11年前
    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 评论 554032 浏览
    测试
    测试