Kind of a random game over the years to optimize PHP 7.x and 8.x for Nextcloud and there are a variety of disclaimers on what you might think about doing for your specific instance, etc. based on server capacity and size of files, apache or nginx, and all that stuff. Not to mention the ambiguity around PHP, PHP-FPM, and whether you are using caching or not and all those separate possible config...