Page 29 - Web Performance
-
Maxim Mironjuk
-
January 02, 2025
OPcache Preloading loads selected classes and functions exactly once when a PHP-FPM worker starts, into a persistent memory area, so they are immediately available for every following request. Configured correctly it noticeably saves time for autoloading, inheritance resolution and interface checks, configured incorrectly it accomplishes nothing or produces hard to trace errors after every deploy.
-