Nextcloud: Difference between revisions

Line 36: Line 36:
You should use caching to achieve a reasonable performance.   
You should use caching to achieve a reasonable performance.   
NextCloud recommends APCu for local caching and Redis for lock caching:
NextCloud recommends APCu for local caching and Redis for lock caching:
<pre>
<syntaxhighlight lang="php">
'memcache.local' => '\OC\Memcache\APCu',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.distributed' => '\OC\Memcache\Redis',
Line 44: Line 44:
     'port' => 6379,
     'port' => 6379,
],
],
</pre>
</syntaxhighlight>


===Troubleshooting===
===Troubleshooting===