Redis Cache By Xon

Redis Cache By Xon 2.18.9

没有下载权限
XF 兼容性
  1. 2.3.x
  2. 2.2.x
摘要
This add-on requires Xon's Standard Library and Credis with custom cache provider for Redis. Install phpredis for best performance. Configures Redis cache with server details. Enables read from slave for improved performance. Supports Redis Sentinel for high availability.
This add-on require Standard Library by Xon
This add-on uses Credis with a custom cache provider for Redis (based off Cm_Cache_Backend_Redis). For best performance, install the php extension: phpredis
Installation
Edit src/config.php
and add:
PHP:
$config['cache']['enabled'] = true;
$config['cache']['sessions'] = true;
$config['cache']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['config'] = [
    'server' => '127.0.0.1',
    'port' => 6379,
];
Troubleshooting
Please be aware that Redis is very sensitive to latency in a virtual environment. If repeated connection failures or protocol errors are experienced disable any Redis Persistence options.
Read Scaling
With the $config['cache']['config']['load_from_slave'] option, reads can be deferred to a singular slave instance. This takes all the options of 'config' (except the slave config)
See the FAQ for configuration samples.
High availability
The Zend component support master/slave setups with Redis Sentinel support. It does not support Redis multi-master clustering.
  • Additionally, this add-on implement caching of thread counts in a forum.
  • Redis Sentinel support for high-availability (see FAQ for details).
redis-options.webp
redis-stats.webp
作者
newimage
浏览
1,653
扩展类型
zip
文件大小
80.6 KB
首次发布
上次更新
评分 5.00 星 2 个评分
链接失效了吗? 发送消息 给 NP 团队,我们会尽快为您处理!
支持开发者 如果您对测试满意或项目已成功盈利,可点击「更多信息」按钮,通过购买来支持开发者!

最新更新

  1. 2.18.9 - change log
    Fix XF2.3 compatibility where "Call to undefined method...
  2. 2.18.8 - change log
    Fix showing an empty "maxmemory" redis info section in admincp
  3. 2.18.7 - change log
    Fix incorrect order of applying TLS options for a connection and using redis password...

最新评论

  • 匿名
  • 5.00 星
  • 版本: 2.10.7 - Bugfix & Maintenance update
wonderful
  • 匿名
  • 5.00 星
  • 版本: 2.10.7 - Bugfix & Maintenance update
Xon has some of the most useful addons and this is one of them. He also has unrivaled support. Literally fixing bugs within a day.

相似的资源

[AndyB]  Rebuild post reactions cache A
This add-on is useful to remove deleted members reactions.
浏览
399
已更新
[FF] Page Criteria for Xon Browser Detection A
dd a new set of criterion to the Page criteria
浏览
499
已更新
[TickTackk] Image Attachment Cache Control A
This add-on allows controlling image attachments cache headers.
浏览
222
已更新
顶部