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

Cache\Frontend\Msgpack::stop

public stop () Stops output frontend

Cache\Frontend\Msgpack::start

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

Cache\Frontend\Msgpack::isBuffering

public isBuffering () Check whether if frontend is buffering output

Cache\Frontend\Msgpack::getLifetime

public getLifetime () Returns the cache lifetime

Cache\Frontend\Msgpack::getContent

public getContent () Returns output cached content

Cache\Frontend\Msgpack::beforeStore

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

Cache\Frontend\Msgpack::afterRetrieve

public afterRetrieve (mixed $data) Unserializes data after retrieval

Cache\Frontend\Msgpack

extends class Phalcon\Cache\Frontend\Data implements Phalcon\Cache\FrontendInterface Source on GitHub Allows to cache native PHP data in a serialized form using msgpack extension This adapter uses a Msgpack frontend to store the cached content and requires msgpack extension. use Phalcon\Cache\Backend\File; use Phalcon\Cache\Frontend\Msgpack; // Cache the files for 2 days using Msgpack frontend $frontCache = new Msgpack([ 'lifetime' => 172800 ]); // Create the component that will

Cache\Frontend\Json::stop

public stop () Stops output frontend