Redis Cache By Xon

Redis Cache By Xon 2.12.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.
  • Like
Reactions: vwts and imno007
  • 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
  • Initial php 8.2 compatibility update
  • Like
Reactions: vwts and nodle
  • 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+
    $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.
    $config['cache']['config']['server'] = 'ssl://';
    // See 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