Optimizing Nextcloud

Please share some optimization tips you know (apart form ones in the documentation). Tips on both manual and snap instances. Post some good articles on this topic if you want to. I am running some testing on snap vs manual with tuning to find the best for me.

My server specs.
Fit PC2i (1GB ram, SSD storage, [Intel Atom Z530 (Silverthorne)@1.6 ghz])
Ubuntu server 16.04 32-bit (processor limitation)