Composer can install a package either as a downloaded archive or as a git clone. The default depends on package metadata and on whether the version is a…
Before a build starts, the whole context directory is sent to the daemon. Without a .dockerignore that includes .git, node_modules and every previous build artefact — commonly hundreds…
PSR-4 resolves a class by converting the namespace to a path and checking the filesystem. That is one or more stat calls per class, on every request, for…
Configuration files are read top to bottom, so location blocks look like they are evaluated that way. They are not: nginx picks the longest matching prefix, then lets…
try_files takes each argument in turn and serves the first that exists, falling through to the last unconditionally. Every front-controller configuration is one line of it, and the…
Two hundred and forty require_once calls where load order was load-bearing, moved onto an autoloader one namespace at a time without a big-bang rewrite.