GitHub user zwoop opened a pull request:

    https://github.com/apache/trafficserver/pull/747

    TS-4395 Add new plugin, remap_purge

    This is similar to the existing plugin to purge based on a genID stored in a
    persistent storage. The difference is that the purging is done exclusively 
via
    a restful API, and has little (no) overhead on performance (since the
    generation ID is always in memory).
    
    Example:
    
    map http://example.com/p1  http://p1.example.com
      @plugin=remap_purge.so @pparam=--path=__secret__  
@pparam=--state=example_p1
    
    And to purge:
    
      $ curl -s -D - -X PURGE http://example.com/p1/__secret__
      HTTP/1.1 200 OK
      Date: Sat, 30 Apr 2016 00:09:34 GMT
      Connection: close
      Server: ATS/7.0.0
      Content-Length: 39
      Content-Type: text/html
    
      PURGED http://example.com/p1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zwoop/trafficserver TS-4395

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/747.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #747
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to