Addon Zend Redis Cache

MacKen

Sergeant
Code hoặc hướng dẫn này được sử dụng trên phiên bản Xenforo cũ đã quá hạn sử dụng. Bạn hãy click để tìm bản mới hơn
Compatible XF Versions:
  • 1.4
  • 1.5
Additional Requirements:
Redis
phpredis
License:
Unlicense, New BSD
Visible Branding:
No
This "addon" packages Cm_Cache_Backend_Redis and Credis with a little glue-code to provide a Zend Cache forRedis. For best performance, install the php extension: phpredis

As for clustering, the Zend component doesn't yet support it. There is some ongoing open source development to extend it. But it has been stalled for about 6 months.

Optionally, pipelining can be enabled in XenForo_Model_DataRegistry::getMulti by adding the following lines to config.php. Preferably after setting up the cache.

Code:
require(XenForo_Application::getConfigDir().'/SV/RedisCache/Installer.php');

Licencing

Components licenced under; New BSD
  • Cm_Cache_Backend_Redis
  • Credis
Components licenced under; Unlicense
  • XenForo Addon code

I recommend using Install and Upgrade by waindigo or Add-on install & upgrade to install (aka copy the files to the right place)

If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.
Report
 
Addon này có file "config.redis-example.php" và "LICENSE".. có cần upload lên không bạn? Hay vẫn cài đặt bình thường, upload thư mục "upload" thôi? @MacKen :D
 
cài đặt thế lào đây a đê?
nó chỉ có dòng này dù đã cài xong addon
Redis is disabled.
 
Back
Top