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
3093  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文章 30评论 5点赞 676064浏览
    随机文章
    编译安装go语言运行环境
    5年前
    Docker创建CentOS8镜像自定义配置保存
    4年前
    Python+Memcached网页优化
    16年前
    Spawn-fcgi启动进程马上死掉
    16年前
    基于Python的socket编程
    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 文章 30 评论 676064 浏览
    测试
    测试