PagesLoaderCache::getCacheStatus() method

Get cache status

Returns count of each cache type, or contents of each cache type of verbose option is specified.

Available since version 3.0.198.

Usage

// basic usage
$array = $pagesLoaderCache->getCacheStatus();

// usage with all arguments
$array = $pagesLoaderCache->getCacheStatus($verbose = null);

Arguments

NameType(s)Description
verbose (optional)bool, null

Specify true to get contents of cache, false to get string counts, or omit for array of counts

Return value

array string


PagesLoaderCache methods and properties

API reference based on ProcessWire core version 3.0.244

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits