OPcache
OPcache is a PHP extension managed by SlickStack that stores compiled bytecode to avoid repeatedly compiling WordPress Core, themes and plugins.
SlickStack enables OPcache as part of its managed PHP environment and automatically adjusts its memory allocation according to server RAM. The standard configuration uses shared memory and a disk-based file cache under /var/www/cache/opcache/.
Timestamp validation allows PHP to detect modified scripts. Supported settings in ss-config include revalidation frequency, accelerated file limits, and wasted-memory thresholds. PHP 8.3 also supports configurable JIT settings, with JIT disabled by default.
The ss purge opcache command attempts to reset cached PHP scripts and clears the disk cache. Because the current PHP-FPM web fallback can be blocked by the Nginx PHP allowlist, a PHP-FPM restart using ss restart php is more reliable when an in-memory reset is required.
For technical details, see the OPcache documentation.