SproutCMS

This is the code documentation for the SproutCMS project

class Memcache

Memcache-based Cache driver.

Source code (4 results)

/config/cache.php   Highlighted file source

Line 11: * driver - Cache backend driver. Kohana comes with file, database, and memcache drivers.
Line 14: * > Memcache is very high performance, but prevents cache tags from being used.

/sprout/config/cache.php   Highlighted file source

Line 26: * driver - Cache backend driver. Kohana comes with file, database, and memcache drivers.
Line 29: * > Memcache is very high performance, but prevents cache tags from being used.

/sprout/config/cache_memcache.php   Highlighted file source

Line 18: * @package Cache:Memcache
Line 20: * memcache server configuration.

/sprout/Helpers/Drivers/Cache/Memcache.php   Highlighted file source

Line 25: * Memcache-based Cache driver.
Line 27: class Memcache implements CacheDriver
Line 30: const TAGS_KEY = 'memcache_tags_array';
Line 44: if ( ! extension_loaded('memcache'))
Line 45: throw new Kohana_Exception('cache.extension_not_loaded', 'memcache');
Line 47: $this->backend = new Memcache;
Line 48: $this->flags = Kohana::config('cache_memcache.compression') ? MEMCACHE_COMPRESSED : FALSE;
Line 50: $servers = Kohana::config('cache_memcache.servers');
Line 122: // Memcache driver expects unix timestamp
Line 143: // @see http://php.net/manual/en/function.memcache-flush.php#81420
Line 203: // Memcache handles garbage collection internally
Line 207: } // End Cache Memcache Driver

A total of 18 lines in 4 files were found