Refresh the cached listing query results
By default this marks the cache as out of date and starts the background rebuild: visitors keep getting the current results until it finishes. With $now true, the cache is cleared straight away and the next page load rebuilds as it goes. Call it after changing listings directly in the database.
| Since | |
|---|---|
3.6 |
|
| Parameters | |||
|---|---|---|---|
bool
|
$now = false |
Clear now instead of rebuilding in the background. |
# |
| Returns | |
|---|---|
void
|
|