Cache\Frontend\Output::getLifetime

public getLifetime () Returns the cache lifetime

Cache\Frontend\None::start

public start () Starts output frontend

Cache\Frontend\Output::beforeStore

public string beforeStore (mixed $data) Serializes data before storing them

Cache\Frontend\Output

implements Phalcon\Cache\FrontendInterface Source on GitHub 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 * //

Cache\Frontend\Output::afterRetrieve

public mixed afterRetrieve (mixed $data) Unserializes data after retrieval

Cache\Frontend\None::isBuffering

public isBuffering () Check whether if frontend is buffering output, always false

Cache\Frontend\Msgpack::start

public start () Starts output frontend. Actually, does nothing

Cache\Frontend\None::afterRetrieve

public afterRetrieve (mixed $data) Prepares data to be retrieved to user

Cache\Frontend\Msgpack::stop

public stop () Stops output frontend

Cache\Frontend\None

implements Phalcon\Cache\FrontendInterface Source on GitHub Discards any kind of frontend data input. This frontend does not have expiration time or any other options <?php //Create a None Cache $frontCache = new \Phalcon\Cache\Frontend\None(); // Create the component that will cache "Data" to a "Memcached" backend // Memcached connection settings $cache = new \Phalcon\Cache\Backend\Memcache($frontCache, array( "host" => "localhost", "port" => "11211" )); // This Frontend al