rev 2295
6 files changed, 128 insertions(+), 111 deletions(-), 4.07 KiB (I'm assuming SVN would have given me twice that size :P)
* Several caching improvements, mostly around Memcached. I only needed to ensure that wedge.org could clean the user cache correctly for an upcoming site update, and I ended up rewriting plenty of things. Silly me... (ManageServer.php, Subs-Admin.php, Subs-Cache.php, ManageSettings.language.php)
! Fixed a dirty bug where Memcached just didn't work in Wedge (AFAIK it also won't work well in SMF).
* Improved code for Memcached path (more specifically, the Memcache extension), by turning $memcached into a static.
* Fall back to file-based cache if the Memcached server is currently down.
* Added support for Zend shared-memory caching (zend_shm_*).
* Calling clean_cache on the regular file cache will now attempt to clear the cache for APC, XCache, Memcached and Zend.
* Admin page won't show the Memcached text input if it's not available in the first place.
* Improved wording of admin page's help text. Seriously, it was messed up, especially when it came to Memcached.
* More accurate detection of accelerators in admin page.
* Various commenazi, and spacinazi.
@ Note: XCache documentation is non-existent, so it's possible this won't work for it. As for Zend, they don't have a (documented) way to clean their old cache system, and I don't have access to any of these cache APIs anyway (except APC which I need to test), so I don't know if it'll succeed removing Zend's key/value cache, but it's worth a try.
@ I'm too lazy to update smfinfo.php... I don't think it even has a chance of making its way into a final package, anyway. Also too lazy to look into the Memcached extension for now (right now, Wedge uses the Memcache extension, which does the same job, but is older or something.)
6 files changed, 128 insertions(+), 111 deletions(-), 4.07 KiB (I'm assuming SVN would have given me twice that size :P)
* Several caching improvements, mostly around Memcached. I only needed to ensure that wedge.org could clean the user cache correctly for an upcoming site update, and I ended up rewriting plenty of things. Silly me... (ManageServer.php, Subs-Admin.php, Subs-Cache.php, ManageSettings.language.php)
! Fixed a dirty bug where Memcached just didn't work in Wedge (AFAIK it also won't work well in SMF).
* Improved code for Memcached path (more specifically, the Memcache extension), by turning $memcached into a static.
* Fall back to file-based cache if the Memcached server is currently down.
* Added support for Zend shared-memory caching (zend_shm_*).
* Calling clean_cache on the regular file cache will now attempt to clear the cache for APC, XCache, Memcached and Zend.
* Admin page won't show the Memcached text input if it's not available in the first place.
* Improved wording of admin page's help text. Seriously, it was messed up, especially when it came to Memcached.
* More accurate detection of accelerators in admin page.
* Various commenazi, and spacinazi.
@ Note: XCache documentation is non-existent, so it's possible this won't work for it. As for Zend, they don't have a (documented) way to clean their old cache system, and I don't have access to any of these cache APIs anyway (except APC which I need to test), so I don't know if it'll succeed removing Zend's key/value cache, but it's worth a try.
@ I'm too lazy to update smfinfo.php... I don't think it even has a chance of making its way into a final package, anyway. Also too lazy to look into the Memcached extension for now (right now, Wedge uses the Memcache extension, which does the same job, but is older or something.)

