feat: add support for PHP preloading

This commit is contained in:
Kévin Dunglas
2020-10-14 22:14:41 +02:00
parent 7ab611a755
commit 0167334910
4 changed files with 19 additions and 7 deletions

View File

@@ -0,0 +1,14 @@
apc.enable_cli = 1
date.timezone = UTC
session.auto_start = Off
short_open_tag = Off
# https://symfony.com/doc/current/performance.html
opcache.interned_strings_buffer = 16
opcache.max_accelerated_files = 20000
opcache.memory_consumption = 256
opcache.validate_timestamps = 0
realpath_cache_size = 4096K
realpath_cache_ttl = 600
opcache.preload_user=www-data
opcache.preload=/srv/app/var/cache/prod/App_KernelProdContainer.preload.php