From cb22c910d575dbe85ab0c56acd6db2a01ebf8b4f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 3 Feb 2013 23:47:36 +0100 Subject: [PATCH] Major overhaul of caching system (work in progress) See #1124 --- com.woltlab.wcf/option.xml | 8 +- wcfsetup/install/files/js/WCF.js | 4 +- .../install/files/lib/system/WCF.class.php | 5 - .../lib/system/cache/CacheHandler.class.php | 140 ++++----- .../builder/AbstractCacheBuilder.class.php | 78 +++++ .../cache/builder/ICacheBuilder.class.php | 26 +- .../cache/source/ApcCacheSource.class.php | 96 ++++-- .../cache/source/DiskCacheSource.class.php | 179 ++++------- .../cache/source/ICacheSource.class.php | 48 ++- .../cache/source/MemcachedAdapter.class.php | 80 ----- .../source/MemcachedCacheSource.class.php | 289 ++++++++++-------- .../cache/source/NoCacheSource.class.php | 66 ++-- wcfsetup/install/lang/de.xml | 1 - wcfsetup/install/lang/en.xml | 1 - wcfsetup/setup/db/install.sql | 5 - 15 files changed, 501 insertions(+), 525 deletions(-) create mode 100644 wcfsetup/install/files/lib/system/cache/builder/AbstractCacheBuilder.class.php delete mode 100644 wcfsetup/install/files/lib/system/cache/source/MemcachedAdapter.class.php diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 9943fb60bc..bb62172a54 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -388,10 +388,10 @@ debug:mail_debug_logfile_path,!mail_use_f_param,!mail_smtp_host,!mail_smtp_port, memcached:wcf.acp.option.cache_source_type.memcached apc:wcf.acp.option.cache_source_type.apc no:wcf.acp.option.cache_source_type.no]]> - +