$procache→allowCDN()
Is CDN active/allowed for current page/request/user?
Usage
// basic usage
$bool = $procache->allowCDN();
// usage with all arguments
$bool = $procache->allowCDN($page = null);
Arguments
Name | Type(s) | Description |
---|---|---|
$page (optional) | Page null bool | Omit for current Page, specify Page, or specify boolean to force allow/disallow |
Return value
bool
$procache methods and properties
API reference based on ProcessWire core version 3.0.252