Cache\Frontend\Output
Class Phalcon\Cache\Frontend\Output
implements Phalcon\Cache\FrontendInterface
Allows to cache output fragments captured with ob_* functions
* * use Phalcon\Tag; * use Phalcon\Cache\Backend\File; * use Phalcon\Cache\Frontend\Output; * * // Create an Output frontend. Cache the files for 2 days * $frontCache = new Output( * [ * "lifetime" => 172800, * ] * ); * * // Create the component that will cache from the "Output" to a "File" backend * // Set the cache file directory - it's important to keep the "/" at the end of * // the value fo