ProCacheFiles::files method

Cleanup any ProCache-tmp dirs that remain in /site/assets/

This is here to be called from a CRON job, on really large installations where the server doesn't allow enough time/resources to complete full cache clears in a single http request.

Usage

$int = $procache->files->tmpDirCleanup();

Return value

int

Number of directories removed


$procache->files methods and properties

API reference based on ProcessWire core version 3.0.252