Cache¶
Manage the in-memory result cache.
cache_clear ¶
Clear cached entries.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pattern
|
str | None
|
Optional substring; only keys containing it are removed. If omitted, the entire cache is cleared. |
None
|
Returns:
| Type | Description |
|---|---|
int
|
Number of entries removed. |