diff --git a/README.md b/README.md
index 59c2583..79c3f96 100644
--- a/README.md
+++ b/README.md
@@ -26,8 +26,9 @@ RUST_LOG=trace cargo run -- --allow=http://localhost/allow.txt \
```
* set `socks5://127.0.0.1:1080` proxy in your application
* open http://127.0.0.1:8010 in browser for stats:
- * `/api/allow/domain.com` - add rule to the current session (and `--cache` if defined)
- * `/api/block/domain.com` - delete rule from the current session (and `--cache` if defined)
+ * `/api/allow/{domain.com}` - add rule to the current session (and `--cache` if defined)
+ * `/api/block/{domain.com}` - delete rule from the current session (and `--cache` if defined)
+ * `/api/cache/clean` - clean `--cache` file (returns deleted rules or `null` if not enabled)
### Allow list example
diff --git a/src/list.rs b/src/list.rs
index 0d52f1a..d614018 100644
--- a/src/list.rs
+++ b/src/list.rs
@@ -90,4 +90,9 @@ impl List {
self.cache.block(rule).await?;
Ok(self.index.write().await.remove(&Item::from_line(rule)))
}
+ /// Privately clean `--cache` file collected, return deleted rules
+ /// * we can implement `self.index` update at this step @TODO
+ pub async fn cache_clean(&self) -> Result