Install nextcloud on synology or using it over nfs/webdav?

I am wondering what is recommended there. Would you install nextcloud directly on a synlogy server or would you mount an nfs disk on a machine where nextcloud would be installed? I understand that i would be limited to the network speed to store the file but is there any other reason? Also can we cache locally the files?