Redis Cache By Xon

xF2 Add-on Redis Cache By Xon 2.18.0

No permission to download
  • Track latest upstream Credis library
  • Replace "master/slave" terminology with "primary/replica" terminology. Previous config.php setting will still work.
  • Fix "CredisException: ERR syntax error ", when a non-integer is passed to \XF::app()->cache->save() without php-redis installed. Known to affect Threadmark's rss caching
  • Fix "Short Thread Count Expiry time" and "Thread Count Expiry time" options where swapped.
  • Support caching item-counts in @Bob's Review Management System
  • Fix possible redis compatibility issue which may result in empty css being returned instead of a 404
  • Fix several php 8.1 compatibility issues with Redis sentinel usage
  • Fix bad default port for raw IP when connnecting to multiple redis sentinels
  • Fix support for Redis v7+ high-availability using Redis Sentinel
  • Add support for redis auth via username/password (vs just password). Requires redis v6+
Code:
$config['cache']['config']['username'] = 'myUsername'; // requires redis 6+, or for cloud redis installations
$config['cache']['config']['password'] = '....';

Improve SSL/TLS support, exposing tls/ssl options.

Code:
$config['cache']['config']['server'] = 'ssl://127.0.0.1';
// See https://www.php.net/manual/en/context.ssl.php for details
$config['cache']['config']['tlsOptions'] = [
   'SNI_enabled' => true,
];
  • Fix php 8.1+ error with phpredis + socket connections
  • Workaround for php 8.0.17+/8.1.4+ issue when zlib output compression & serving css
  • Fix case where cached forum thread counts may be inaccurate due to insufficiently specific cache key
  • Update library used to talk to redis to version which is confirmed php 8.1 compatible
  • Improve compatibility with 3rd party add-ons with caching applied to user's online list
727Threads
2,270Messages
60,695Members
sdcwjpLatest member
Back