Version 4 (modified by debrasantorini, 7 years ago) (diff)


XCache 3.0.0 Release

Release Info

  • Version: 3.0.0
  • Previous version: 2.0.1
  • Branch: trunk
  • Status: Stable
  • Main Release Purpose: big change, big milestone, new features, bug fixes
  • Author: mOo <phpxcache@…>
  • Release date: 2012-10-29

Release notes

Bug fixes. lots of improvements with updated XCache admin page, namespace support and more. updates api, adds a few ini. A new "diagnosis" module to give professional advice about XCache configuration (@ htdocs). Auto disable caching on crash (@ runtime). WARNING: uses extension= to load XCache. loading via zend_extension= is no longer supported since this version.


API Changes

  • chg: proto array xcache_clear_cache(int type, [ int id = -1 ]). -1 means all cache splits
  • new: proto array xcache_enable_cache(int type, [ int id = -1, [ bool enable = true ] ])
  • new: proto array xcache_admin_namespace()
  • new: proto array xcache_set_namespace(string namespace)

Ini Settings Changes

  • new: xcache.disable_on_crash = Off
  • new: xcache.coverager_autostart = On
  • new: xcache.allocator = bestfit (no other option value yet)
  • new: xcache.var_allocator = bestfit (no other option value yet)


  • closes #2: auto disable caching on crash
  • closes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode (>=PHP_5_3)
  • closes #174: updates api to support "clear all cache"
  • closes #198: support for caching protocol url
  • closes #287: namespace support
  • fixes #39: ini_set never work for xcache.coverager setting. use API instead
  • code refactor
    • uses extension= to load XCache. loading via zend_extension= is unsupported
    • split XCache features into multiple sub modules
  • updates XCache admin page
  • adds an diagnosis module to give professional advise, accessable via htdocs pages
  • cache can be enabled/disabled manually

Relative tickets

[TODO] AutoDisableOnCrash
xcache_get SEGV using objects
xcache.coveragedumper does not work in PHP_INI_PER_DIR or PHP_INI_ALL
check PHP_FCGI_CHILDREN and warn if it's not set for fcgi mode
Ability to clear all cache
E_DEPRECATED error at parsing - Custom error handler cant access previously declared classes
separated cache by vhost, with patch!

See also: ReleaseArchive

More About The Author