Skip to content

Commit a870ef2

Browse files
explains #596 (#602)
* explain #596 * Update README.md Co-authored-by: darkweak <[email protected]> --------- Co-authored-by: darkweak <[email protected]>
1 parent bd94dfc commit a870ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ This system is able to invalidate by tags your cloud provider cache. Actually it
283283
|:--------|:------------------|:-----------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
284284
| `GET` | `/` | - | List stored keys cache |
285285
| `GET` | `/surrogate_keys` | - | List stored keys cache |
286-
| `PURGE` | `/{id or regexp}` | - | Purge selected item(s) depending. The parameter can be either a specific key or a regexp |
286+
| `PURGE` | `/{id or regexp}` | - | Purge selected item(s) depending. The parameter can be either a specific key or a regexp; use `$` to end a specific key; without `$`, `id` is considered a regex |
287287
| `PURGE` | `/?ykey={key}` | - | Purge selected item(s) corresponding to the target ykey such as Varnish (deprecated) |
288288
| `PURGE` | `/` | `Surrogate-Key: Surrogate-Key-First, Surrogate-Key-Second` | Purge selected item(s) belong to the target key in the header `Surrogate-Key` (see [Surrogate-Key system](https://github.com/darkweak/souin/blob/master/cache/surrogate/README.md)) |
289289
| `PURGE` | `/flush` | - | Purge all providers and surrogate storages |

0 commit comments

Comments
 (0)