Redis Cache By Xon

Redis Cache By Xon 2.18.9

No permission to download
XF Compatibility
  1. 2.3.x
  2. 2.2.x
Short Description
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
Author
newimage
Views
1,646
Extension type
zip
File size
80.6 KB
First release
Last update
Ratings 5.00 star(s) 2 ratings
Link was Broken? Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

Latest updates

  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...

Latest reviews

  • Anonymous
  • 5.00 star(s)
  • Version: 2.10.7 - Bugfix & Maintenance update
wonderful
  • Anonymous
  • 5.00 star(s)
  • Version: 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.

Similar resources

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