ISwr.InvalidateByPrefix method
ISwr.InvalidateByPrefix method
Section titled “ISwr.InvalidateByPrefix method”Removes all cache entries whose keys start with the given prefix. Useful for invalidating related endpoints (e.g., all “/api/users” entries).
public void InvalidateByPrefix(string prefix)| parameter | description |
|---|---|
| prefix | The key prefix to match. All entries with keys starting with this prefix are removed. |