Version 2 (modified by moo, 5 years ago) (diff) |
---|
XCache 3.0.0 版本
发布信息
- 版本: 3.0.0
- 上一个版本: 2.0.1
- 分支: trunk
- 状态: 稳定
- 发布目的: 新里程碑, 增加功能, 修复问题
- 作者: mOo <phpxcache@…>
- 发布日期: 2012-10-29
发布说明
修复版本. XCache admin 页面有大量改进, 增加 namespace 支持, 等等. 更新 API, 新增了一些 INI 设置. 新增 "诊断" 模块给出一些专家级建议 (htdocs 中). 进程异常时自动禁用缓存 (运行期间). 警告: 本版本开始使用 extension= 来加载 XCache. 不再支持采用 zend_extension= 方式加载.
下载
- 源码
- 预编译 Windows 版
- 检查 发布目录 获取您 PHP 相应的版本 (用 md5.txt 可校验文件完整性)
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)
ChangeLog
- closes #2: 异常时自动禁用缓存
- closes #73: 对 fcgi 模式下 PHP_FCGI_CHILDREN 设置错误进行提醒 (仅限于 >=PHP_5_3)
- closes #174: 增加 API 支持 "清除所有缓存"
- closes #198: 增加支持缓存 *:* 路径
- closes #287: namespace 支持
- fixes #39: xcache.coverager 不支持 ini_set. 如需要请用 API 代替
- 代码重构
- 使用 extension= 加载 XCache. 不再支持 zend_extension=
- 切割 XCache 功能代码到多个子模块
- 更新 XCache 管理页面 (admin)
- 增加 诊断 模块, 提供专家级建议, 可通过 htdocs 页面访问
- 可手动启用/禁用特定缓存
Relative tickets
- #2
- [TODO] AutoDisableOnCrash
- #37
- xcache_get SEGV using objects
- #39
- xcache.coveragedumper does not work in PHP_INI_PER_DIR or PHP_INI_ALL
- #73
- check PHP_FCGI_CHILDREN and warn if it's not set for fcgi mode
- #174
- Ability to clear all cache
- #223
- E_DEPRECATED error at parsing - Custom error handler cant access previously declared classes
- #287
- separated cache by vhost, with patch!
参见: ReleaseArchive