Some background, this is a fairly small NextCloud implementation with about 10 users.
I installed redis and OPcache per the Marksei instructions. When the performance was slow, I referenced the “Memory Caching” section of the NextCloud instructions and followed the instructions there to install APCu and configured it. This did not correct the performance issue. I don’t have any experience with these caching mechanisms, but I do have experience with other caching systems. I would like to see they are actually working. I will research this but if you know any commands that can verify if the cache is working, counting cache hits and misses, the memory size of the cache in use, the eviction policy, etc.
I just used the default data folder location, but based on your comment, I will move it outside of the www
path.