- Uyumlu XF Sürümleri
- 2.2.X
- 2.3.X
- Ek Gereksinimler
- php 7.2+
Redis (v3.0.0 veya daha yenisi)
phpredis
XenForo + Redis sistemini aktifleştirmenize olanak tanır.
Feature overview
Aşağıdaki kodu
Feature overview
- A pure php redis connector
- High availability support
- Exposes redis cache object for use for use by other add-ons
- Implements some minor caching of forum thread counts
- Redirect's XenForo's individual css template caching to hit redis as otherwise it causes unexpected write & deadlocking on the xf_css_cache table
Aşağıdaki kodu
src/config.php
dosyasına ekleyin:
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,
];