Some hints from my OC@PI3:
- mysql: increase the innodb buffer to have all data cached
- mount /tmp and /var/tmp to temfs
- use the current nginx from stretch repository (default apt is outdated; not http2 capable)
- i mounted oc-data, webroot and sql-files onto a USB3 stick to take load off the sd-card
For some more detail tweaks of PHP check