If you’re running a heavy website like a Woocommerce site or a site that does a lot of processing then PHP (the language WordPress runs on) is going to have to work quite hard.
The settings below help squeeze more performance out of your PHP by enabling the JIT Compiler and optimizing the PHP OPCache settings.
These settings will speed up the backend of your site in particular which is quite useful for Woocommerce sites. We’ve often seen backend load times drop from 3-5 seconds to 1-3 seconds on areas like Woocommerce order pages with these settings.
To add these settings, log into the hosting admin panel, click the Dashboard tab -> PHP and then add these settings into the “Additional directives” text box.
Once added, click OK
It’ll take a few minutes for the benefit of these settings to take effect but
opcache.huge_code_pages=1
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=10000
opcache.max_wasted_percentage=5
opcache.memory_consumption=1024
opcache.revalidate_path=0
opcache.validate_timestamps=1
opcache.revalidate_freq=10
opcache.enable_cli=1
opcache.use_cwd=1
opcache.jit_buffer_size=32M
opcache.jit=1254
