drupal icon indicating copy to clipboard operation
drupal copied to clipboard

Change default OPcache configure values for Maximum Perfomance

Open rolandocaldas opened this issue 5 years ago • 0 comments

Drupal 8 use Symfony. The symfony documentation recommended change the OPcache configure values memory_consumption and max_accelerated_file for Maximum Performance: https://symfony.com/doc/current/performance.html#configure-opcache-for-maximum-performance

; php.ini
; maximum memory that OPcache can use to store compiled PHP files
opcache.memory_consumption=256

; maximum number of files that can be stored in the cache
opcache.max_accelerated_files=20000

rolandocaldas avatar Oct 14 '19 22:10 rolandocaldas