Skip to content

jackton/XenForo-RedisCache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XenForo-Redis-cache

XenForo + Redis + Glue code

This "addon" is the required gluecode to use Cm_Cache_Backend_Redis to provide a Zend Cache target for Redis.

Additionally, this addon implement caching of thread counts in a forum, and an optimized query for getting threads in a forum with large number of threads.

To prevent double encoding of cached data, it is strongly recommended to have the following configuration in XenForo's config.php:

$config['cache']['frontendOptions']['automatic_serialization'] = false;

Warning You must manually flush the cache after changing this setting!

For best performance use: phpredis PECL extension

Sample Redis configuration for XenForo:

$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
        'server' => '127.0.0.1',
        'port' => 6379,
        );

Licensing:

New BSD License:

  • Cm_Cache_Backend_Redis
  • Credis

Unlicense:

  • XenForo Addon code

About

XenForo + Redis + Glue code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%