Cache maintenance removes expired caches
Should be called as part of a regular maintenance routine and after page/template save/deletion. ProcessWire already calls this automatically, so you don’t typically need to call this method on your own.
// basic usage $bool = $cache->maintenance(); // usage with all arguments $bool = $cache->maintenance($obj = null);
API reference based on ProcessWire core version 3.0.135