cache_forget()
Remove a cached value and its record, whichever language saved it.
Usage
cache_forget(name: str, file: str | Path | None = None) -> None
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| name required | str |
The cache name. |
|
| file | str | Path | None | None |
Remove this file instead of the files in the cache folder and the one in the cache record. |