Cache\Frontend\None
Class Phalcon\Cache\Frontend\None
extends class Phalcon\Cache\Frontend\Data
implements Phalcon\Cache\FrontendInterface
Discards any kind of frontend data input. This frontend does not have expiration time or any other options
//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 always return the data as it's returned by the backend $cacheKey = 'robots_order_id.cache'; $robots = $cache->get($cacheKey); if ($robots