Delete the cached results of an old cache version
Without this, every refresh left a full copy of the old results in the database until they expired (12 hours), which adds up on sites without an object cache.
| Since | |
|---|---|
3.6 |
Added: old copies are deleted as soon as a refresh finishes. |
| Parameters | |||
|---|---|---|---|
int
|
$version |
Cache version to delete. |
# |
array|null
|
$queries = null |
Remembered queries, read from the option when null. |
# |
| Returns | |
|---|---|
void
|
|