ProCacheCDN::cdn method
Get array of CDN path to CDN host, i.e. [ '/site/' => 'cdn.domain.com/' ]
Usage
// basic usage
$array = $procache->cdn->pathsToHosts();
// usage with all arguments
$array = $procache->cdn->pathsToHosts($https = null);Arguments
| Name | Type(s) | Description |
|---|---|---|
$https (optional) | bool null | include only HTTPS hosts? Or omit to auto-detect from $config->https |
Return value
array
$procache->cdn methods and properties
API reference based on ProcessWire core version 3.0.252