Skip to main content
ElementorRAM
ElementorRAM Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Partner Disclosure).
Builder Stacks Hub (10 Guides)

Zend OPcache & Interned Strings Buffer for WordPress Builders

Elementor Pro + WooCommerce compile 14,000+ PHP files; pinning 128 MB OPcache and 24 MB interned strings eliminates recompile CPU spikes.

128 MB OPcache | 20,000 max_accelerated_files

Zend OPcache & Interned Strings Buffer for WordPress Builders
Telemetry baseline verified 2026-11-01 by BuilderBench WP.

Why Default 64 MB OPcache Thrashes on Elementor

WordPress core plus Elementor Pro, WooCommerce, and 15 active plugins easily exceed PHP default 10,000 max_accelerated_files and 64 MB opcache.memory_consumption. Cache restarts force every PHP-FPM child to re-parse files from disk.

Production OPcache Directives for PHP 8.3

Set opcache.memory_consumption=128, opcache.interned_strings_buffer=24, and opcache.max_accelerated_files=20000. On UltaHost VDS or dedicated PHP-FPM pools, this adds only 128 MB shared once across all workers while cutting worker CPU by 25%.

Measured Thresholds & Configuration

OPcache SettingPHP DefaultElementor ProductionEffect
opcache.memory_consumption64 or 128128 MBPrevents cache full restarts
opcache.interned_strings_buffer824 MBShares builder class strings
opcache.max_accelerated_files1000020000Fits Elementor + Woo + Addons
128 MB OPcache | 20,000 max_accelerated_files Inspect ChemiCloud TurboCheck Hostinger Cloud