Located in file /site/modules/ProCache/ProCacheCDN.php
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Pro
class also inherits all the methods and properties of: ProCacheClass and Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Pro Pro Pro | bool | Allow CDN to be used for this Page and request? | |
Pro Pro Pro | array | Get or set runtime CDN HTML attributes | |
Pro Pro Pro | array | Get or set runtime CDN file extensions | |
Pro Pro Pro | array | Get array of CDN path to CDN host, i.e. [ '/site/' => 'cdn.domain.com/' ] | |
Pro Pro Pro | bool | Populate CDN replacements | |
Pro Pro Pro | string | Given a local URL convert to a CDN URL (if given URL is in CDN’s path space) |
Additional methods and properties
In addition to the methods and properties above, Pro
API reference based on ProcessWire core version 3.0.236