I had luck with increasing memory allocation in my php config for mine. Also having more ram may help if you have bigger files. Afaik nextcloud doesn’t have caching like unraid or truenas. I’m not aware of transfer speed issues. I’ve also no issues saturating my 1gig connection to it either.
Oh, hmm idk bout that then.