ProCache Minify
ProCache methods for file minify and merge.
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: Pro
Common
Name | Return | Summary | |
---|---|---|---|
$procache->minify->getHtmlMinifier() $procache->minify->getHtmlMinifier() $procache->minify->getHtmlMinifier(array $options = []) | Pro | Get HTML minifier instance | |
$procache->minify->minifyHtml() $procache->minify->minifyHtml(string $out) $procache->minify->minifyHtml(string $out, array $options = [], bool $debug = false) | float | Minify HTML of of given output ($out) | |
$procache->minify->renderMerge() $procache->minify->renderMerge(page $page, string $out) $procache->minify->renderMerge(page $page, string $out) | bool | Merge and minify CSS and JS file references in output ($out) for given $page | |
$procache->minify->renderMinify() $procache->minify->renderMinify(Page $page, string $out, bool $allowCache) $procache->minify->renderMinify(Page $page, string $out, bool $allowCache) | bool | Minify HTML of output ($out) for given $page |
Additional methods and properties
In addition to the methods and properties above, Pro
API reference based on ProcessWire core version 3.0.252