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
3138  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文章 32评论 5点赞 688909浏览
    随机文章
    Google可能取消PageRank,即PR?
    16年前
    Ubuntu系统下apt-get命令常用参数
    16年前
    怎么获取淘宝服务器时间,助力抢购商品
    6年前
    lnmp一键包nginx加装ngx_cache_purge缓存清理模块
    6年前
    用Python指定HTTPConnection的出口IP(Specify outgoing ip)
    16年前
    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 文章 32 评论 688909 浏览
    测试
    测试