OPcache keeps compiled bytecode in shared memory, which is empty after every restart — so the first requests following a deploy or an FPM reload each pay full…
gzip on compresses every response as it is sent, which for a static bundle means doing the same CPU work for every visitor to produce an identical result.…
The upgrade is usually measured in request latency. The larger operational change is memory: PHP 7 rewrote the internal value representation, and arrays in particular use a fraction…
Objects cannot be array keys, so checking whether an object is already in a collection usually turns into in_array($obj, $list, true) — a linear scan that gets slower…
Each instruction produces a layer, and a layer is reused only if every instruction before it is unchanged. Copying the whole application before installing dependencies invalidates the dependency…
Two days lost to PHP extension mismatches. A container per service, what the shared-folder performance problem costs on a VM, and whether it was worth it.