Skip to content

Commit bdb4a80

Browse files
committed
Publish roadmap.
1 parent 99b4f0f commit bdb4a80

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

TODO.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Features that sooner or later will be added to `ngx_cache_purge`:
2+
3+
* Add support for alternative in-location cache purges using specified
4+
request method, with following configuration syntax:
5+
6+
location / {
7+
proxy_pass http://127.0.0.1:8000;
8+
proxy_cache tmpcache;
9+
proxy_cache_key $uri$is_args$args;
10+
proxy_cache_purge DELETE from 127.0.0.1;
11+
}
12+
13+
This will allow for purges using:
14+
15+
curl -X DELETE http://example.com/logo.jpg
16+
17+
instead of:
18+
19+
curl http://example.com/purge/logo.jpg
20+
21+
22+
Features that __will not__ be added to `ngx_cache_purge`:
23+
24+
* Support for prefixed purges (`/purge/images/*`).
25+
Reason: Impossible with current cache implementation.
26+
27+
* Support for wildcard/regex purges (`/purge/*.jpg`).
28+
Reason: Impossible with current cache implementation.

0 commit comments

Comments
 (0)