Git Product home page Git Product logo

cleancache_tengine_cdn's Introduction

##清缓存接口说明:

一:清理接口(get请求):


  1:清理nginx(cleartype=nginx)
  http://127.0.0.1:8009/clear?cleartype=nginx&url=http://www.xxx.com/index.html

  2:清理akamai(cleartype=akamai)
  http://127.0.0.1:8009/clear?cleartype=akamai&url=http://xxx/index.html

  3:同时清理akamai和nginx(cleartype=nginxakamai)
  http://127.0.0.1:8009/clear?cleartype=nginxakamai&url=http://www.xxx.com/index.html

二:维护域名对应nginx的IP列表(post请求,暂未加入认证):


  接口地址:http://127.0.0.1:8009/nginx
  1:查询所有域名
  action=takeallkey

  2:根据域名查询对应IP
  action=takebykey&key=www.test.com

  3:根据域名修改IP
  action=changebykey&key=www.test.com&ips=127.0.0.1

  4: 根据域名删除key
  action=delbykey&key=www.test.com

  5: 取所有域名和key
  action=takeall

cleancache_tengine_cdn's People

Contributors

chenvista avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.