Nextcloud: Difference between revisions

Line 32: Line 32:


===Caching===
===Caching===
See [https://docs.nextcloud.com//server/13/admin_manual/configuration_server/caching_configuration.html#id4 Caching configuration].
See [https://docs.nextcloud.com/server/19/admin_manual/configuration_server/caching_configuration.html?highlight=caching Caching configuration].


You should use caching to achieve a reasonable performance.   
You should use caching to achieve a reasonable performance.   
Line 38: Line 38:
<pre>
<pre>
'memcache.local' => '\OC\Memcache\APCu',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'redis' => [
  'host' => 'localhost',
    'host' => 'redis-host.example.com',
  'port' => 6379,
    'port' => 6379,
),
],
</pre>
</pre>