$cache→preloadFor()
Preload all caches for the given object or namespace
Usage
// basic usage
$cache->preloadFor($ns);
// usage with all arguments
$cache->preloadFor($ns, $expire = null);Arguments
| Name | Type(s) | Description |
|---|---|---|
$ns | object string | |
$expire (optional) | int string null |
API reference based on ProcessWire core version 3.0.252