diff --git a/README.md b/README.md index 783d1c6a..4090e922 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,6 @@ We try to make sure vichan is compatible with all major web servers. vichan does 2. ImageMagick (command-line ImageMagick or GraphicsMagick preferred). 3. ~~[APC (Alternative PHP Cache)](http://php.net/manual/en/book.apc.php)~~, [APCu (Alternative PHP Cache)](http://php.net/manual/en/book.apcu.php), - [XCache](http://xcache.lighttpd.net/), [Memcached](http://www.php.net/manual/en/intro.memcached.php) or [Redis](https://redis.io/docs/about/) diff --git a/inc/cache.php b/inc/cache.php index 88363481..1c7680fb 100644 --- a/inc/cache.php +++ b/inc/cache.php @@ -47,9 +47,6 @@ class Cache { case 'apcu': $data = apcu_fetch($key); break; - case 'xcache': - $data = xcache_get($key); - break; case 'php': $data = isset(self::$cache[$key]) ? self::$cache[$key] : false; break; @@ -101,9 +98,6 @@ class Cache { case 'apcu': apcu_store($key, $value, $expires); break; - case 'xcache': - xcache_set($key, $value, $expires); - break; case 'fs': $key = str_replace('/', '::', $key); $key = str_replace("\0", '', $key); @@ -139,9 +133,6 @@ class Cache { case 'apcu': apcu_delete($key); break; - case 'xcache': - xcache_unset($key); - break; case 'fs': $key = str_replace('/', '::', $key); $key = str_replace("\0", '', $key); diff --git a/inc/config.php b/inc/config.php index 363c656f..8c3e08b7 100644 --- a/inc/config.php +++ b/inc/config.php @@ -121,7 +121,6 @@ */ $config['cache']['enabled'] = 'php'; - // $config['cache']['enabled'] = 'xcache'; // $config['cache']['enabled'] = 'apc'; // $config['cache']['enabled'] = 'memcached'; // $config['cache']['enabled'] = 'redis'; diff --git a/install.php b/install.php index 0f64ccf5..003efbe8 100644 --- a/install.php +++ b/install.php @@ -876,12 +876,11 @@ if ($step == 0) { ), array( 'category' => 'Misc', - 'name' => 'Caching available (APC(u), XCache, Memcached or Redis)', + 'name' => 'Caching available (APC(u), Memcached or Redis)', 'result' => extension_loaded('apcu') || extension_loaded('apc') || - extension_loaded('xcache') || extension_loaded('memcached') || - extension_loaded('redis'), + extension_loaded('memcached') || extension_loaded('redis'), 'required' => false, - 'message' => 'You will not be able to enable the additional caching system, designed to minimize SQL queries and significantly improve performance. APC is the recommended method of caching, but XCache, Memcached and Redis are also supported.' + 'message' => 'You will not be able to enable the additional caching system, designed to minimize SQL queries and significantly improve performance. APC is the recommended method of caching, but Memcached and Redis are also supported.' ), array( 'category' => 'Misc',