OPcache in production: the settings that actually matter
OPcache is on by default in most builds, but the defaults check files on every request and quietly evict scripts when memory runs out. Two settings and one deploy step fix that.
Modern PHP and Laravel notes on performance, queues, types and tooling.
OPcache is on by default in most builds, but the defaults check files on every request and quietly evict scripts when memory runs out. Two settings and one deploy step fix that.
Backed enums replace string constants and magic values. Readonly properties give you immutable value objects. Both have rules that surprise people in frameworks.
Technologies