Some advice/guidance about caching please

After a long time of trial and error i finally got redis up and running as local instance using Unix-socket on RPi running NC. Actually i have running:

memcache.local: "\\OC\\Memcache\\APCu"
memcache.distributed: "\\OC\\Mecache\\Redis"
memcache.locking: "\\OC\\Memcache\\Redis"

Are both services needed up and running for having an appropriate caching or can APCu in this case be disabled and removed? Such as:

memcache.local: "\\OC\\Memcache\\Redis"
memcache.distributed: "\\OC\\Mecache\\Redis"
memcache.locking: "\\OC\\Memcache\\Redis"

and could in this case memcache.distributed also be disabled as well by only having:

memcache.local: "\\OC\\Memcache\\Redis"
memcache.locking: "\\OC\\Memcache\\Redis"

Any advice is highly appreciated.

thx

NC knows different ways to cache. You can cache the locked files, the files that often used etc.
than you can decide wich kind of cache it should be:
apcu is perfect for a smal instance to run on the same machine like the nc.
redis is more for bigger ones and get to his full potential if you run it as a cluster of many redis chaches. Youd likely think about redis as big company runing your NC instance on a big server farm.
For you APCU is just fine.

Besides this php has also a cache wich can be added in the php.ini file.

for mor info look at the official documentation of Nextcloud: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html

@DrJambus

Ok. Got it. Thank you.