Optimizations for Symfony/FrankenPHP
Dump the autoloader and use opcache preloading.
cc @joanhey
The preload and optimize autoload don't have effect in Worker mode. The change in Caddyfile will have benefits.
@joanhey It should have an small effect at startup, to warm the worker scripts (2x the number of CPU by default).
By the way, tweaking this setting (increasing or reducing hit) may improve performance too.
@dunglas send an small change, to rerun the CI
@joanhey do you have an idea why the CI fails?
https://github.com/TechEmpower/FrameworkBenchmarks/actions/runs/10566789729/job/29325184156?pr=9077#step:9:9156
Perhaps was temporal, send an small change to rerun the CI again.
@joanhey any chance to approve the workflow?
Well, at least CI is running for you now, but Symfony/FrankenPHP failed.