Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions admin_manual/configuration_server/server_tuning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,22 @@ Enable HTTP2 for faster loading
-------------------------------

HTTP2 has `huge speed improvements <https://www.troyhunt.com/i-wanna-go-fast-https-massive-speed-advantage/>`_ over HTTP with multiple request. Most `browsers already support HTTP2 over SSL (HTTPS) <http://caniuse.com/#feat=http2>`_. So refer to your server manual for guides on how to use HTTP2.

.. _opcache:

Enable PHP OPcache
------------------

The `OPcache <http://php.net/manual/en/intro.opcache.php>`_ 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 <http://php.net/manual/en/opcache.configuration.php>`_ or `this blog post about some recommended settings <https://www.scalingphpbook.com/blog/2014/02/14/best-zend-opcache-settings.html>`_.
1 change: 1 addition & 0 deletions go.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
'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',
Expand Down