diff --git a/admin_manual/configuration_server/server_tuning.rst b/admin_manual/configuration_server/server_tuning.rst index 74101d97f..ce16b9572 100644 --- a/admin_manual/configuration_server/server_tuning.rst +++ b/admin_manual/configuration_server/server_tuning.rst @@ -72,3 +72,22 @@ Enable HTTP2 for faster loading ------------------------------- HTTP2 has `huge speed improvements `_ over HTTP with multiple request. Most `browsers already support HTTP2 over SSL (HTTPS) `_. So refer to your server manual for guides on how to use HTTP2. + +.. _opcache: + +Enable PHP OPcache +------------------ + +The `OPcache `_ improves the performance of PHP applications by caching precompiled bytecode. We recommend at least following settings: + +.. code:: ini + + opcache.enable=On + opcache.enable_cli=1 + opcache.interned_strings_buffer=8 + opcache.max_accelerated_files=10000 + opcache.memory_consumption=128 + opcache.save_comments=1 + opcache.revalidate_freq=1 + +For more details check out the `official documentation `_ or `this blog post about some recommended settings `_. diff --git a/go.php b/go.php index ffed53232..f864b7a31 100644 --- a/go.php +++ b/go.php @@ -28,6 +28,7 @@ $mapping = array( 'admin-backup' => '/admin_manual/maintenance/backup.html', 'admin-monitoring' => '/admin_manual/operations/considerations_on_monitoring.html', 'admin-sso' => '/admin_manual/configuration_server/sso_configuration.html', + 'admin-php-opcache' => '/admin_manual/configuration_server/server_tuning.html#enable-php-opcache', 'developer-code-integrity'=> '/developer_manual/app/code_signing.html', 'developer-theming' => '/developer_manual/core/theming.html',