ProCacheStatic::static method
Cache maintenance to clear out cache files and DB entries have have expired
This is run by ProCache every 30 seconds
Usage
// basic usage
$int = $procache->static->cacheMaintenance();
// usage with all arguments
$int = $procache->static->cacheMaintenance(array $options = []);Arguments
| Name | Type(s) | Description |
|---|---|---|
$options (optional) | array |
|
Return value
int arrayNumber of cache files removed or array of files removed if getFiles is true.
$procache->static methods and properties
API reference based on ProcessWire core version 3.0.252